// source --> https://www.b-yota.com/wp-content/themes/brooklyn/js/jquery.queryloader2.min.js?ver=2.9.0 !function(e){jQuery.browser={},jQuery.browser.mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase()),jQuery.browser.webkit=/webkit/.test(navigator.userAgent.toLowerCase()),jQuery.browser.opera=/opera/.test(navigator.userAgent.toLowerCase()),jQuery.browser.msie=/msie/.test(navigator.userAgent.toLowerCase()),Array.prototype.indexOf||(Array.prototype.indexOf=function(e){var t=this.length>>>0,i=Number(arguments[1])||0;for((i=i<0?Math.ceil(i):Math.floor(i))<0&&(i+=t);i").appendTo("body").css({display:"none",width:0,height:0,overflow:"hidden"});for(var i=0;t.length>i;i++)e.ajax({url:t[i],type:"HEAD",complete:function(e){a||(d++,h(this.url))}})},h=function(t){e("").attr("src",t).bind("load error",function(){b()}).appendTo(r)},b=function(){var t=++i/d*100;e(s).stop().animate({width:t+"%",minWidth:t+"%"},200),1==c.percentage&&e(o).text(Math.ceil(t)+"%"),i==d&&y()},y=function(){e(r).remove(),c.onLoadComplete(),a=!0},f=function(){function i(){var t=e("#ut-overlay-svg").get(0),i=e("#ut-stroke-offset-group").get(0).getBBox();t.setAttribute("width",Math.round(i.width)),t.setAttribute("height",Math.round(1.1*i.height)),t.setAttribute("viewBox","0 0 "+Math.round(i.width)+" "+Math.round(1.1*i.height))}n=e("#qLoverlay");var a="visible";if(difference_two=0,"off"===c.showbar&&(a="hidden",199,difference_two=99),""!==preloader_settings.loader_logo&&"style_eight"!==preloader_settings.style&&"text_draw"!==preloader_settings.style&&"text_background_animation"!==preloader_settings.style&&e("").appendTo(n.children(".ut-inner-overlay")),"style_one"===preloader_settings.style&&"on"===c.showbar&&(s=e("
").css({height:c.barHeight+"px",backgroundColor:c.barColor,width:"0%",marginTop:"20px",marginBottom:"20px",visibility:a}).appendTo(n.children(".ut-inner-overlay"))),"style_two"===preloader_settings.style&&e("

"+preloader_settings.loader_text+"

").appendTo(n.children(".ut-inner-overlay")),"style_three"===preloader_settings.style&&e("

"+preloader_settings.loader_text+"

").appendTo(n.children(".ut-inner-overlay")),"style_four"===preloader_settings.style&&(e("#ut-loader-logo").addClass("ut-style4-active"),e("

"+preloader_settings.loader_text+"

").appendTo(n.children(".ut-inner-overlay"))),"style_five"===preloader_settings.style&&e("

"+preloader_settings.loader_text+"

").appendTo(n.children(".ut-inner-overlay")),"style_six"===preloader_settings.style&&e('

').appendTo(n.children(".ut-inner-overlay")),"style_seven"===preloader_settings.style&&e('
').appendTo(n.children(".ut-inner-overlay")),"style_eight"===preloader_settings.style&&e(preloader_settings.text_logo).appendTo(n.children(".ut-inner-overlay")),"text_draw"===preloader_settings.style&&(e(window).utresize(function(){i()}),e(window).on("load",function(){i(),e(".ut-overlay-svg-text","#ut-overlay-svg").delay(400).queue(function(){e("#ut-overlay-svg").addClass("loaded"),(v=anime.timeline({autoplay:!0,complete:function(){u=!0}})).add({targets:".ut-overlay-svg-text",fill:{value:[preloader_settings.text_start_color,preloader_settings.text_end_color],duration:800,easing:"easeOutBack",delay:1e3}})})}),i()),"text_background_animation"===preloader_settings.style){var r=e("#ut-overlay-animated-text-wrap"),d=e("#ut-overlay-animated-text"),l=e("#ut-overlay-animated-text > div"),g=e("#ut-overlay-animated-background-text");e(window).on("load",function(){r.height(g.height()).addClass("calculated"),d.height(g.height()),l.height(g.height());var e=g.width();d.delay(800).animate({now:e},{duration:1600,step:function(t){d.css("width",e-t),l.css("left",-1*t)},start:function(){d.addClass("start"),g.addClass("start")},complete:function(){u=!0}})})}"on"===preloader_settings.loader_percentage&&"style_one"===preloader_settings.style&&(o=e("
").text("0%").css({textAlign:"center",marginTop:"20px",color:c.textColor}).appendTo(n.children(".ut-inner-overlay"))),t.length||y()},m=function(i){var a=e(i),r="";if("none"!==a.css("background-image")?r=a.css("background-image"):a.data("background-image")?r=a.data("background-image"):a.hasClass("ut-lazy")&&a.data("src")&&!a.data("adaptive-images")?r=a.data("src"):a.hasClass("ut-adaptive-image")&&a.data("adaptive-images")?r=UT_Adaptive_Images.get_responsive_image(a,!1):void 0!==a.attr("src")&&"img"==i.nodeName.toLowerCase()&&(r=a.attr("src")),-1==r.indexOf("gradient"))for(var n=(r=(r=(r=(r=r.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(", "),s=0;s0&&-1==t.indexOf(n[s])&&!n[s].match(/^(data:)/i)){var o="";e.browser.msie&&e.browser.version<9&&(o="?"+Math.floor(3e3*Math.random())),t.push(n[s]+o)}};e.fn.queryLoader2=function(t){return t&&e.extend(c,t),this.each(function(){m(this),1==c.deepSearch&&e(this).find("*:not(script)").each(function(){m(this)})}),function(){var e=new Date;l=e.getTime(),p(),f()}(),this};var _={init:function(){this.browser=this.searchString(this.dataBrowser)||"An unknown browser",this.version=this.searchVersion(navigator.userAgent)||this.searchVersion(navigator.appVersion)||"an unknown version",this.OS=this.searchString(this.dataOS)||"an unknown OS"},searchString:function(e){for(var t=0;t https://www.b-yota.com/wp-content/themes/brooklyn/js/ut-scriptlibrary.min.js?ver=4.9.5.4 !function(){"use strict";for(var t=0,e=["webkit","moz"],i=0;i0}});else{var u=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,i){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==i[e-1]})},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(n(t,"resize",this._checkForIntersections,!0),n(e,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in t&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,s(t,"resize",this._checkForIntersections,!0),s(e,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var e=this._rootIsInDom(),r=e?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach(function(n){var s=n.element,a=o(s),l=this._rootContainsTarget(s),u=n.entry,c=e&&l&&this._computeTargetAndRootIntersection(s,r),h=n.entry=new i({time:t.performance&&performance.now&&performance.now(),target:s,boundingClientRect:a,rootBounds:r,intersectionRect:c});u?e&&l?this._hasCrossedThreshold(u,h)&&this._queuedEntries.push(h):u&&u.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(i,r){if("none"!=t.getComputedStyle(i).display){for(var n=o(i),s=l(i),a=!1;!a;){var u=null,c=1==s.nodeType?t.getComputedStyle(s):{};if("none"==c.display)return;if(s==this.root||s==e?(a=!0,u=r):s!=e.body&&s!=e.documentElement&&"visible"!=c.overflow&&(u=o(s)),u&&!(n=function(t,e){var i=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),n=Math.max(t.left,e.left),s=Math.min(t.right,e.right),o=s-n,a=r-i;return o>=0&&a>=0&&{top:i,bottom:r,left:n,right:s,width:o,height:a}}(u,n)))break;s=l(s)}return n}},r.prototype._getRootRect=function(){var t;if(this.root)t=o(this.root);else{var i=e.documentElement,r=e.body;t={top:0,left:0,right:i.clientWidth||r.clientWidth,width:i.clientWidth||r.clientWidth,bottom:i.clientHeight||r.clientHeight,height:i.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(t)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map(function(e,i){return"px"==e.unit?e.value:e.value*(i%2?t.width:t.height)/100}),i={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i},r.prototype._hasCrossedThreshold=function(t,e){var i=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(i!==r)for(var n=0;n0||n.isIntersecting)&&(s.unobserve(n.target),r(n.target)||(e(n.target),t(n.target),i(n.target)))})}},s=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return t instanceof Element?[t]:t instanceof NodeList?t:e.querySelectorAll(t)};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".lozad",o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=Object.assign({},i,o),l=a.root,u=a.rootMargin,c=a.threshold,h=a.load,f=a.loaded,p=void 0;return"undefined"!=typeof window&&window.IntersectionObserver&&(p=new IntersectionObserver(n(h,f),{root:l,rootMargin:u,threshold:c})),{observe:function(){for(var i=s(e,l),n=0;ny||v>_||m>b||w>g)return!1;d>v&&(a+=d-v),y>_&&(c-=y-_),m>w&&(s+=m-w),b>g&&(o-=b-g)}return p+n.height()>=a&&p-(n.data("appear-top-offset")||0)<=c&&f+n.width()>=s&&f-(n.data("appear-left-offset")||0)<=o}},t.fn.extend({appear:function(l){var h=t.extend({},a,l||{}),f=this.selector||this;if(!s){var p=function(){o||(o=!0,setTimeout(e,h.interval))};h.support_seamless_iframes&&window.frameElement&&(i=t(window.frameElement),u="no"===i.attr("scrolling")||i.is("[seamless]")),u?(r=i.offset(),t(window.top).scroll(p).resize(p)):t(window).scroll(p).resize(p),s=!0}return h.force_process&&setTimeout(e,h.interval),function(t){n.push(t),c.push()}(f),t(f)}}),t.extend({force_appear:function(){return!!s&&(e(),!0)}})}("undefined"!=typeof module?require("jquery"):jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){c=setTimeout(function(){t.data("ut-wait",0),c=!1},t.data("ut-remove-wait"))}function i(){if(o.length&&("undefined"==typeof preloader_settings||!preloader_settings.loader_active)){var i=0,s=t.map(o,function(t){var e=t.data.selector,i=t.$element;return e?i.find(e):i});for(r=r||function(){var e,i,r={height:l.innerHeight,width:l.innerWidth};return r.height||!(e=a.compatMode)&&t.support.boxModel||(r={height:(i="CSS1Compat"===e?u:a.body).clientHeight,width:i.clientWidth}),r}(),n=n||{top:l.pageYOffset||u.scrollTop||a.body.scrollTop};i=n.top&&p.top+f.height<=n.top+r.height?_||h.data("inview",!0).trigger("inview",[!0]):_&&h.data("inview",!1).trigger("inview",[!1]):(void 0===d||"none"!==d||_||(d=0),void 0===d||"auto"!==d||_||(d=.5*f.height),void 0===d||"almost"!==d||_||(d=.75*f.height),void 0===d||"partial"!==d||_||(d=.33*f.height),(void 0!==d&&"auto"===d&&_||void 0===d)&&(d=0),d=-Math.abs(d),p.top+f.height>=n.top&&p.top-(d||0)<=n.top+r.height?_||h.data("inview",!0).trigger("inview",[!0]):_&&h.data("inview",!1).trigger("inview",[!1]))}}else h.data("ut-remove-wait")&&!c&&e(h);else h.data("inview",!1).trigger("inview",[!1])}}}var r,n,s,o=[],a=document,l=window,u=(t(l),a.documentElement),c=!1;t.event.special.inview={add:function(e){o.push({data:e,$element:t(this),element:this}),!s&&o.length&&(s=setInterval(i,100))},remove:function(t){for(var e=0;e"+i+"").attr({class:"keyframe-style",id:e,type:"text/css"}).appendTo("head")};t.keyframe={debug:!1,getVendorPrefix:function(){return r},isSupported:function(){return e},generate:function(e){var n=e.name||"",o="@"+r+"keyframes "+n+" {";for(var a in e)if("name"!==a&&"media"!==a&&"complete"!==a){o+=a+" {";for(var l in e[a])o+=l+":"+e[a][l]+";";o+="}"}window.PrefixFree?o=PrefixFree.prefixCSS(o+"}"):o+="}",e.media&&(o="@media "+e.media+"{"+o+"}");var u=t("style#"+e.name);if(u.length>0){u.html(o);t("*").filter(function(){return this.style[i+"Name"]===n}).each(function(){var e=t(this),i=e.data("keyframeOptions");e.resetKeyframe(function(){e.playKeyframe(i)})})}else s(n,o)},define:function(t){if(t.length)for(var e=0;et._pfLastSize)&&(t._pfLastSize=t.offsetWidth,r=t.sizes,t.sizes+=",100vw",setTimeout(function(){t.sizes=r}))},n=function(){var t,e=document.querySelectorAll("picture > img, img[srcset][sizes]");for(t=0;t2.7?o=i+1:(s=(e-i)*(n=Math.pow(t-.6,1.5)),r&&(s+=.1*n),o=t+s):o=i>1?Math.sqrt(t*e):t,o>i}function s(t,e){return t.res-e.res}function o(t,e){var i,r,n;if(t&&e)for(n=c.parseSet(e),t=c.makeUrl(t),i=0;i35,b="currentSrc",x=/\s+\+?\d+(e\d+)?w/,T=/(\([^)]+\))?\s*(.+)/,A=t.picturefillCFG,S="font-size:100%!important;",P=!0,k={},O={},C=t.devicePixelRatio,R={px:1,in:96},E=e.createElement("a"),I=!1,M=/^[ \t\n\r\u000c]+/,z=/^[, \t\n\r\u000c]+/,D=/^[^ \t\n\r\u000c]+/,F=/[,]+$/,L=/^\d+$/,j=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,N=function(t,e,i,r){t.addEventListener?t.addEventListener(e,i,r||!1):t.attachEvent&&t.attachEvent("on"+e,i)},B=function(t){var e={};return function(i){return i in e||(e[i]=t(i)),e[i]}},X=function(){var t=/^([\d\.]+)(em|vw|px)$/,e=B(function(t){return"return "+function(){for(var t=arguments,e=0,i=t[0];++e in t;)i=i.replace(t[e],t[++e]);return i}((t||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(i,r){var n;if(!(i in k))if(k[i]=!1,r&&(n=i.match(t)))k[i]=n[1]*R[n[2]];else try{k[i]=new Function("e",e(i))(R)}catch(t){}return k[i]}}(),q=function(t,e){return t.w?(t.cWidth=c.calcListLength(e||"100vw"),t.res=t.w/t.cWidth):t.res=t.d,t},U=function(t){var i,r,n,s=t||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),i=s.elements||c.qsa(s.context||e,s.reevaluate||s.reselect?c.sel:c.selShort),n=i.length){for(c.setupRun(s),I=!0,r=0;rimg,img[srcset]",c.sel=c.selShort,c.cfg=v,c.supSrcset&&(c.sel+=",img[data-pfsrcset]"),c.DPR=C||1,c.u=R,c.types=g,l=c.supSrcset&&!c.supSizes,c.setSize=h,c.makeUrl=B(function(t){return E.href=t,E.href}),c.qsa=function(t,e){return t.querySelectorAll(e)},c.matchesMedia=function(){return t.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?c.matchesMedia=function(t){return!t||matchMedia(t).matches}:c.matchesMedia=c.mMQ,c.matchesMedia.apply(this,arguments)},c.mMQ=function(t){return!t||X(t)},c.calcLength=function(t){var e=X(t,!0)||!1;return e<0&&(e=!1),e},c.supportsType=function(t){return!t||g[t]},c.parseSize=B(function(t){var e=(t||"").match(T);return{media:e&&e[1],length:e&&e[2]}}),c.parseSet=function(t){return t.cands||(t.cands=function(t,e){function i(e){var i,r=e.exec(t.substring(f));if(r)return i=r[0],f+=i.length,i}function n(){var t,i,r,n,s,l,u,c,h,f=!1,d={};for(n=0;n=h)return p;o=i(D),a=[],","===o.slice(-1)?(o=o.replace(F,""),n()):s()}}(t.srcset,t)),t.cands},c.getEmValue=function(){var t;if(!a&&(t=e.body)){var i=e.createElement("div"),r=m.style.cssText,n=t.style.cssText;i.style.cssText="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",m.style.cssText=S,t.style.cssText=S,t.appendChild(i),a=i.offsetWidth,t.removeChild(i),a=parseFloat(a,10),m.style.cssText=r,t.style.cssText=n}return a||16},c.calcListLength=function(t){if(!(t in O)||v.uT){var e=c.calcLength(function(t){function e(t){return!!(u.test(t)&&parseFloat(t)>=0)||!!h.test(t)||"0"===t||"-0"===t||"+0"===t}var i,n,s,o,a,l,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,h=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(s=(n=function(t){function e(){s&&(o.push(s),s="")}function i(){o[0]&&(a.push(o),o=[])}for(var n,s="",o=[],a=[],l=0,u=0,c=!1;;){if(""===(n=t.charAt(u)))return e(),i(),a;if(c){if("*"===n&&"/"===t[u+1]){c=!1,u+=2,e();continue}u+=1}else{if(r(n)){if(t.charAt(u-1)&&r(t.charAt(u-1))||!s){u+=1;continue}if(0===l){e(),u+=1;continue}n=" "}else if("("===n)l+=1;else if(")"===n)l-=1;else{if(","===n){e(),i(),u+=1;continue}if("/"===n&&"*"===t.charAt(u+1)){c=!0,u+=2;continue}}s+=n,u+=1}}}(t)).length,i=0;im)||(f.cached=!0,f.res>=m&&(u=f))),!u)for(t.sort(s),u=t[(l=t.length)-1],r=0;r=m){u=t[a=r-1]&&(d||h!==c.makeUrl(i.url))&&n(t[a].res,i.res,m,t[a].cached)?t[a]:i;break}u&&(p=c.makeUrl(u.url),_.curSrc=p,_.curCan=u,p!==h&&c.setSrc(e,u),c.setSize(e))}},c.setSrc=function(t,e){var i;t.src=e.url,"image/svg+xml"===e.set.type&&(i=t.style.width,t.style.width=t.offsetWidth+1+"px",t.offsetWidth+1&&(t.style.width=i))},c.getSet=function(t){var e,i,r,n=!1,s=t[c.ns].sets;for(e=0;e1;return a&&(s/=2),o.offset=i(o.offset),o.over=i(o.over),this.each(function(){function l(e){var i=t.extend({},o,{queue:!0,duration:s,complete:e&&function(){e.call(h,p,o)}});f.animate(d,i)}if(null!==n){var u,c=e(this),h=c?this.contentWindow||window:this,f=t(h),p=n,d={};switch(typeof p){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(p)){p=i(p);break}p=c?t(p):t(p,h);case"object":if(0===p.length)return;(p.is||p.style)&&(u=(p=t(p)).offset())}var _=t.isFunction(o.offset)&&o.offset(h,p)||o.offset;t.each(o.axis.split(""),function(t,e){var i="x"===e?"Left":"Top",n=i.toLowerCase(),s="scroll"+i,m=f[s](),g=r.max(h,e);if(u)d[s]=u[n]+(c?0:m-f.offset()[n]),o.margin&&(d[s]-=parseInt(p.css("margin"+i),10)||0,d[s]-=parseInt(p.css("border"+i+"Width"),10)||0),d[s]+=_[n]||0,o.over[n]&&(d[s]+=p["x"===e?"width":"height"]()*o.over[n]);else{var v=p[n];d[s]=v.slice&&"%"===v.slice(-1)?parseFloat(v)/100*g:v}o.limit&&/^\d+$/.test(d[s])&&(d[s]=d[s]<=0?0:Math.min(d[s],g)),!t&&o.axis.length>1&&(m===d[s]?d={}:a&&(l(o.onAfterFirst),d={}))}),l(o.onAfter)}})},r.max=function(i,r){var n="x"===r?"Width":"Height",s="scroll"+n;if(!e(i))return i[s]-t(i)[n.toLowerCase()]();var o="client"+n,a=i.ownerDocument||i.document,l=a.documentElement,u=a.body;return Math.max(l[s],u[s])-Math.min(l[o],u[o])},t.Tween.propHooks.scrollLeft=t.Tween.propHooks.scrollTop={get:function(e){return t(e.elem)[e.prop]()},set:function(e){var i=this.get(e);if(e.options.interrupt&&e._last&&e._last!==i)return t(e.elem).stop();var r=Math.round(e.now);i!==r&&(t(e.elem)[e.prop](r),e._last=this.get(e))}},r}),function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.bind("resize",function(t,e,i){var r="";return function(){var n=this,s=arguments;r?clearTimeout(r):i&&t.apply(n,s),r=setTimeout(function(){i||t.apply(n,s),r=null},e||100)}}(t)):this.trigger(e)}}(jQuery,"utresize"),jQuery.fn.isOnScreen=function(){var t=jQuery(window),e={top:t.scrollTop(),left:t.scrollLeft()};e.right=e.left+t.width(),e.bottom=e.top+t.height();var i=this.offset();return i.right=i.left+this.outerWidth(),i.bottom=i.top+this.outerHeight(),!(e.righti.right||e.bottomi.bottom)},function(t,e){"use strict";jQuery.fn[e]=function(t){return t?this.bind("resize",function(t,e,i){var r="";return function(){var n=this,s=arguments;r?clearTimeout(r):i&&t.apply(n,s),r=setTimeout(function(){i||t.apply(n,s),r=null},e||50)}}(t)):this.trigger(e)}}(jQuery,"utresize_fast"),function(t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=t(require("jquery")):t(jQuery)}(function(t){function e(t){var e=7.5625,i=2.75;return t<1/i?e*t*t:t<2/i?e*(t-=1.5/i)*t+.75:t<2.5/i?e*(t-=2.25/i)*t+.9375:e*(t-=2.625/i)*t+.984375}t.easing.jswing=t.easing.swing;var i=Math.pow,r=Math.sqrt,n=Math.sin,s=Math.cos,o=Math.PI,a=1.70158,l=1.525*a,u=2*o/3,c=2*o/4.5;t.extend(t.easing,{def:"easeOutQuad",swing:function(e){return t.easing[t.easing.def](e)},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return 1-(1-t)*(1-t)},easeInOutQuad:function(t){return t<.5?2*t*t:1-i(-2*t+2,2)/2},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return 1-i(1-t,3)},easeInOutCubic:function(t){return t<.5?4*t*t*t:1-i(-2*t+2,3)/2},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1-i(1-t,4)},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-i(-2*t+2,4)/2},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1-i(1-t,5)},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1-i(-2*t+2,5)/2},easeInSine:function(t){return 1-s(t*o/2)},easeOutSine:function(t){return n(t*o/2)},easeInOutSine:function(t){return-(s(o*t)-1)/2},easeInExpo:function(t){return 0===t?0:i(2,10*t-10)},easeOutExpo:function(t){return 1===t?1:1-i(2,-10*t)},easeInOutExpo:function(t){return 0===t?0:1===t?1:t<.5?i(2,20*t-10)/2:(2-i(2,-20*t+10))/2},easeInCirc:function(t){return 1-r(1-i(t,2))},easeOutCirc:function(t){return r(1-i(t-1,2))},easeInOutCirc:function(t){return t<.5?(1-r(1-i(2*t,2)))/2:(r(1-i(-2*t+2,2))+1)/2},easeInElastic:function(t){return 0===t?0:1===t?1:-i(2,10*t-10)*n((10*t-10.75)*u)},easeOutElastic:function(t){return 0===t?0:1===t?1:i(2,-10*t)*n((10*t-.75)*u)+1},easeInOutElastic:function(t){return 0===t?0:1===t?1:t<.5?-i(2,20*t-10)*n((20*t-11.125)*c)/2:i(2,-20*t+10)*n((20*t-11.125)*c)/2+1},easeInBack:function(t){return 2.70158*t*t*t-a*t*t},easeOutBack:function(t){return 1+2.70158*i(t-1,3)+a*i(t-1,2)},easeInOutBack:function(t){return t<.5?i(2*t,2)*(7.189819*t-l)/2:(i(2*t-2,2)*((l+1)*(2*t-2)+l)+2)/2},easeInBounce:function(t){return 1-e(1-t)},easeOutBounce:e,easeInOutBounce:function(t){return t<.5?(1-e(1-2*t))/2:(1+e(2*t-1))/2}})}),function(t,e,i,r){var n=t(e);t.fn.lazyload=function(r){function s(){var e=0;a.each(function(){var i=t(this);if(!l.skip_invisible||i.is(":visible"))if(t.abovethetop(this,l)||t.leftofbegin(this,l));else if(t.belowthefold(this,l)||t.rightoffold(this,l)){if(++e>l.failure_limit)return!1}else i.trigger("appear"),e=0})}var o,a=this,l={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:e,data_attribute:"original",skip_invisible:!1,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return r&&(void 0!==r.failurelimit&&(r.failure_limit=r.failurelimit,delete r.failurelimit),void 0!==r.effectspeed&&(r.effect_speed=r.effectspeed,delete r.effectspeed),t.extend(l,r)),o=void 0===l.container||l.container===e?n:t(l.container),0===l.event.indexOf("scroll")&&o.bind(l.event,function(){return s()}),this.each(function(){var e=this,i=t(e);e.loaded=!1,void 0!==i.attr("src")&&!1!==i.attr("src")||i.is("img")&&i.attr("src",l.placeholder),i.one("appear",function(){if(!this.loaded){if(l.appear){var r=a.length;l.appear.call(e,r,l)}t("").bind("load",function(){var r=i.attr("data-"+l.data_attribute);i.hide(),i.is("img")?i.attr("src",r):i.css({"background-image":"url('"+r+"')","background-size":"cover","background-position":"center center"}),e.loaded=!0;var n=t.grep(a,function(t){return!t.loaded});if(a=t(n),l.load){var s=a.length;l.load.call(e,s,l)}}).attr("src",i.attr("data-"+l.data_attribute))}}),0!==l.event.indexOf("scroll")&&i.bind(l.event,function(){e.loaded||i.trigger("appear")})}),n.bind("resize",function(){s()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&n.bind("pageshow",function(e){e.originalEvent&&e.originalEvent.persisted&&a.each(function(){t(this).trigger("appear")})}),t(i).ready(function(){s()}),this},t.belowthefold=function(i,r){return(void 0===r.container||r.container===e?(e.innerHeight?e.innerHeight:n.height())+n.scrollTop():t(r.container).offset().top+t(r.container).height())<=t(i).offset().top-r.threshold},t.rightoffold=function(i,r){return(void 0===r.container||r.container===e?n.width()+n.scrollLeft():t(r.container).offset().left+t(r.container).width())<=t(i).offset().left-r.threshold},t.abovethetop=function(i,r){return(void 0===r.container||r.container===e?n.scrollTop():t(r.container).offset().top)>=t(i).offset().top+r.threshold+t(i).height()},t.leftofbegin=function(i,r){return(void 0===r.container||r.container===e?n.scrollLeft():t(r.container).offset().left)>=t(i).offset().left+r.threshold+t(i).width()},t.inviewport=function(e,i){return!(t.rightoffold(e,i)||t.leftofbegin(e,i)||t.belowthefold(e,i)||t.abovethetop(e,i))},t.extend(t.expr[":"],{"below-the-fold":function(e){return t.belowthefold(e,{threshold:0})},"above-the-top":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-screen":function(e){return t.rightoffold(e,{threshold:0})},"left-of-screen":function(e){return!t.rightoffold(e,{threshold:0})},"in-viewport":function(e){return t.inviewport(e,{threshold:0})},"above-the-fold":function(e){return!t.belowthefold(e,{threshold:0})},"right-of-fold":function(e){return t.rightoffold(e,{threshold:0})},"left-of-fold":function(e){return!t.rightoffold(e,{threshold:0})}})}(jQuery,window,document),function(){var t=[].indexOf||function(t){for(var e=0,i=this.length;e=0,a={horizontal:{},vertical:{}},l=1,c={},u="waypoints-context-id",d="resize.waypoints",_="scroll.waypoints",m=1,g="waypoints-waypoint-ids",v="waypoint",y="waypoints",s=function(){function t(t){var e=this;this.$element=t,this.element=t[0],this.didResize=!1,this.didScroll=!1,this.id="context"+l++,this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()},this.waypoints={horizontal:{},vertical:{}},this.element[u]=this.id,c[this.id]=this,t.bind(_,function(){var t;if(!e.didScroll&&!h)return e.didScroll=!0,t=function(){return e.doScroll(),e.didScroll=!1},r.setTimeout(t,i[y].settings.scrollThrottle)}),t.bind(d,function(){var t;if(!e.didResize)return e.didResize=!0,t=function(){return i[y]("refresh"),e.didResize=!1},r.setTimeout(t,i[y].settings.resizeThrottle)})}return t.prototype.doScroll=function(){var t,e=this;return t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}},!h||t.vertical.oldScroll&&t.vertical.newScroll||i[y]("refresh"),i.each(t,function(t,r){var n,s,o;return o=[],s=r.newScroll>r.oldScroll,n=s?r.forward:r.backward,i.each(e.waypoints[t],function(t,e){var i,n;return r.oldScroll<(i=e.offset)&&i<=r.newScroll?o.push(e):r.newScroll<(n=e.offset)&&n<=r.oldScroll?o.push(e):void 0}),o.sort(function(t,e){return t.offset-e.offset}),s||o.reverse(),i.each(o,function(t,e){if(e.options.continuous||t===o.length-1)return e.trigger([n])})}),this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}},t.prototype.refresh=function(){var t,e,r,n=this;return r=i.isWindow(this.element),e=this.$element.offset(),this.doScroll(),t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?i[y]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}},i.each(t,function(t,e){return i.each(n.waypoints[t],function(t,r){var n,s,o,a,l;if(n=r.options.offset,o=r.offset,s=i.isWindow(r.element)?0:r.$element.offset()[e.offsetProp],i.isFunction(n)?n=n.apply(r.element):"string"==typeof n&&(n=parseFloat(n),r.options.offset.indexOf("%")>-1&&(n=Math.ceil(e.contextDimension*n/100))),r.offset=s-e.contextOffset+e.contextScroll-n,(!r.options.onlyOnScroll||null==o)&&r.enabled)return null!==o&&o<(a=e.oldScroll)&&a<=r.offset?r.trigger([e.backward]):null!==o&&o>(l=e.oldScroll)&&l>=r.offset?r.trigger([e.forward]):null===o&&e.oldScroll>=r.offset?r.trigger([e.forward]):void 0})})},t.prototype.checkEmpty=function(){if(i.isEmptyObject(this.waypoints.horizontal)&&i.isEmptyObject(this.waypoints.vertical))return this.$element.unbind([d,_].join(" ")),delete c[this.id]},t}(),o=function(){function t(t,e,r){var n,s;"bottom-in-view"===r.offset&&(r.offset=function(){var t;return t=i[y]("viewportHeight"),i.isWindow(e.element)||(t=e.$element.height()),t-i(this).outerHeight()}),this.$element=t,this.element=t[0],this.axis=r.horizontal?"horizontal":"vertical",this.callback=r.handler,this.context=e,this.enabled=r.enabled,this.id="waypoints"+m++,this.offset=null,this.options=r,e.waypoints[this.axis][this.id]=this,a[this.axis][this.id]=this,(n=null!=(s=this.element[g])?s:[]).push(this.id),this.element[g]=n}return t.prototype.trigger=function(t){if(this.enabled)return null!=this.callback&&this.callback.apply(this.element,t),this.options.triggerOnce?this.destroy():void 0},t.prototype.disable=function(){return this.enabled=!1},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0},t.prototype.destroy=function(){return delete a[this.axis][this.id],delete this.context.waypoints[this.axis][this.id],this.context.checkEmpty()},t.getWaypointsByElement=function(t){var e,r;return(r=t[g])?(e=i.extend({},a.horizontal,a.vertical),i.map(r,function(t){return e[t]})):[]},t}(),p={init:function(t,e){return e=i.extend({},i.fn[v].defaults,e),null==e.handler&&(e.handler=t),this.each(function(){var t,r,n,a;return t=i(this),n=null!=(a=e.context)?a:i.fn[v].defaults.context,i.isWindow(n)||(n=t.closest(n)),n=i(n),(r=c[n[0][u]])||(r=new s(n)),new o(t,r,e)}),i[y]("refresh"),this},disable:function(){return p._invoke.call(this,"disable")},enable:function(){return p._invoke.call(this,"enable")},destroy:function(){return p._invoke.call(this,"destroy")},prev:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(e>0)return t.push(i[e-1])})},next:function(t,e){return p._traverse.call(this,t,e,function(t,e,i){if(et.oldScroll.y})},left:function(t){return null==t&&(t=r),f._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){return null==t&&(t=r),f._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return f._invoke("enable")},disable:function(){return f._invoke("disable")},destroy:function(){return f._invoke("destroy")},extendFn:function(t,e){return p[t]=e},_invoke:function(t){var e;return e=i.extend({},a.vertical,a.horizontal),i.each(e,function(e,i){return i[t](),!0})},_filter:function(t,e,r){var n,s;return(n=c[i(t)[0][u]])?(s=[],i.each(n.waypoints[e],function(t,e){if(r(n,e))return s.push(e)}),s.sort(function(t,e){return t.offset-e.offset}),i.map(s,function(t){return t.element})):[]}},i[y]=function(){var t,i;return i=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],f[i]?f[i].apply(null,t):f.aggregate.call(null,i)},i[y].settings={resizeThrottle:100,scrollThrottle:30},n.on("load.waypoints",function(){return i[y]("refresh")})})}.call(this),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.ResizeSensor=e()}(this,function(){function t(t,e){var i=Object.prototype.toString.call(t),r="[object Array]"===i||"[object NodeList]"===i||"[object HTMLCollection]"===i||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements,n=0,s=t.length;if(r)for(;n
',t.appendChild(t.resizeSensor),"static"==function(t,e){return t.currentStyle?t.currentStyle[e]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(e):t.style[e]}(t,"position")&&(t.style.position="relative");var s=t.resizeSensor.childNodes[0],o=s.childNodes[0],a=t.resizeSensor.childNodes[1],l=function(){o.style.width=1e5+"px",o.style.height=1e5+"px",s.scrollLeft=1e5,s.scrollTop=1e5,a.scrollLeft=1e5,a.scrollTop=1e5};l();var u=!1,c=function(){t.resizedAttached&&(u&&(t.resizedAttached.call(),u=!1),e(c))};e(c);var h,f,p,d,_=function(){(p=t.offsetWidth)==h&&(d=t.offsetHeight)==f||(u=!0,h=p,f=d),l()},m=function(t,e,i){t.attachEvent?t.attachEvent("on"+e,i):t.addEventListener(e,i)};m(s,"scroll",_),m(a,"scroll",_)}t(r,function(t){s(t,n)}),this.detach=function(t){i.detach(r,t)}};return i.detach=function(e,i){t(e,function(t){t.resizedAttached&&"function"==typeof i&&(t.resizedAttached.remove(i),t.resizedAttached.length())||t.resizeSensor&&(t.contains(t.resizeSensor)&&t.removeChild(t.resizeSensor),delete t.resizeSensor,delete t.resizedAttached)})},i}),function(t){"use strict";var e=function(){var e={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",menuArrowClass:"sf-arrows"},i=function(){var e=/iPhone|iPad|iPod/i.test(navigator.userAgent);return e&&t(window).on("load",function(){t("body").children().on("click",t.noop)}),e}(),r=function(){var t=document.documentElement.style;return"behavior"in t&&"fill"in t&&/iemobile/i.test(navigator.userAgent)}(),n=function(t,i){var r=e.menuClass;i.cssArrows&&(r+=" "+e.menuArrowClass),t.toggleClass(r)},s=function(t){t.children("a").toggleClass(e.anchorClass)},o=function(t){var e=t.css("ms-touch-action");e="pan-y"===e?"auto":"pan-y",t.css("ms-touch-action",e)},a=function(e){var i=t(this),r=i.siblings(e.data.popUpSelector);r.length>0&&r.is(":hidden")&&(i.one("click.superfish",!1),"MSPointerDown"===e.type?i.trigger("focus"):t.proxy(l,i.parent("li"))())},l=function(){var e=t(this),i=f(e);clearTimeout(i.sfTimer),e.siblings().superfish("hide").end().superfish("show")},u=function(){var e=t(this),r=f(e);i?t.proxy(c,e,r)():(clearTimeout(r.sfTimer),r.sfTimer=setTimeout(t.proxy(c,e,r),r.delay))},c=function(e){e.retainPath=t.inArray(this[0],e.$path)>-1,this.superfish("hide"),this.parents("."+e.hoverClass).length||(e.onIdle.call(h(this)),e.$path.length&&t.proxy(l,e.$path)())},h=function(t){return t.closest("."+e.menuClass)},f=function(t){return h(t).data("sf-options")};return{hide:function(t){if(this.length){var e=f(this);if(!e)return this;var i=!0===e.retainPath?e.$path:"",r=this.find("li."+e.hoverClass).add(this).not(i).removeClass(e.hoverClass).children(e.popUpSelector);e.speedOut;t&&(r.show(),0),e.retainPath=!1,e.onBeforeHide.call(r),e.onHide.call(r)}return this},show:function(){var t=f(this);if(!t)return this;var e=this.addClass(t.hoverClass).children(t.popUpSelector);return t.onBeforeShow.call(e),t.onShow.call(e),this},destroy:function(){return this.each(function(){var i,r=t(this),a=r.data("sf-options");if(!a)return!1;i=r.find(a.popUpSelector).parent("li"),clearTimeout(a.sfTimer),n(r,a),s(i),o(r),r.off(".superfish").off(".hoverIntent"),i.children(a.popUpSelector).attr("style",function(t,e){return e.replace(/display[^;]+;?/g,"")}),a.$path.removeClass(a.hoverClass+" "+e.bcClass).addClass(a.pathClass),r.find("."+a.hoverClass).removeClass(a.hoverClass),a.onDestroy.call(r),r.removeData("sf-options")})},init:function(c){return this.each(function(){var h=t(this);if(h.data("sf-options"))return!1;var f=t.extend({},t.fn.superfish.defaults,c),p=h.find(f.popUpSelector).parent("li");f.$path=function(i,r){return i.find("li."+r.pathClass).slice(0,r.pathLevels).addClass(r.hoverClass+" "+e.bcClass).filter(function(){return t(this).children(r.popUpSelector).hide().show().length}).removeClass(r.pathClass)}(h,f),h.data("sf-options",f),n(h,f),s(p),o(h),function(e,n){var s="li:has("+n.popUpSelector+")";t.fn.hoverIntent&&!n.disableHI?e.hoverIntent(l,u,s):e.on("mouseenter.superfish",s,l).on("mouseleave.superfish",s,u);var o="MSPointerDown.superfish";i||(o+=" touchend.superfish"),r&&(o+=" mousedown.superfish"),e.on("focusin.superfish","li",l).on("focusout.superfish","li",u).on(o,"a",n,a)}(h,f),p.not("."+e.bcClass).superfish("hide",!0),f.onInit.call(this)})}}}();t.fn.superfish=function(i,r){return e[i]?e[i].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof i&&i?t.error("Method "+i+" does not exist on jQuery.fn.superfish"):e.init.apply(this,arguments)},t.fn.superfish.defaults={popUpSelector:"ul,.sf-mega",hoverClass:"sfHover",pathClass:"overrideThisToUse",pathLevels:1,delay:400,animation:{opacity:"show"},animationOut:{opacity:"hide"},speed:"normal",speedOut:"fast",cssArrows:!0,disableHI:!1,onInit:t.noop,onBeforeShow:t.noop,onShow:t.noop,onBeforeHide:t.noop,onHide:t.noop,onIdle:t.noop,onDestroy:t.noop},t.fn.extend({hideSuperfishUl:e.hide,showSuperfishUl:e.show})}(jQuery),function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],n=document.createElement("div");n.innerHTML='

x

',r.appendChild(n.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='twitch.tv']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var n=t(this).find(e.join(","));(n=(n=n.not("object object")).not(r)).each(function(){var e=t(this);if(!e.hasClass("jwswf")&&!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("id")){var n="fitvid"+t.fn.fitVids._count;e.attr("name",n),t.fn.fitVids._count++}e.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},o=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=o.prototype.render},a=1e-8,l=i._internals,u=l.isSelector,c=l.isArray,h=o.prototype=i.to({},.1,{}),f=[];o.version="2.1.3",h.constructor=o,h.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=i.killTweensOf,o.getTweensOf=i.getTweensOf,o.lagSmoothing=i.lagSmoothing,o.ticker=i.ticker,o.render=i.render,o.distribute=s,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var r,n=this,s=n.ratio,o=n.vars.immediateRender||t.immediateRender;e&&n._startTime.998){var a=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(a,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||o)for(var l,u=1/(1-s),c=n._firstPT;c;)l=c.s+c.c,c.c*=u,c.s=l-c.c,c=c._next;return n},h.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,o,u,c,h,f,p,d,_=this,m=_._dirty?_.totalDuration():_._totalDuration,g=_._time,v=_._totalTime,y=_._cycle,w=_._duration,b=_._rawPrevTime;if(t>=m-a&&t>=0?(_._totalTime=m,_._cycle=_._repeat,_._yoyo&&0!=(1&_._cycle)?(_._time=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0):(_._time=w,_.ratio=_._ease._calcEnd?_._ease.getRatio(1):1),_._reversed||(n=!0,s="onComplete",r=r||_._timeline.autoRemoveChildren),0===w&&(_._initted||!_.vars.lazy||r)&&(_._startTime===_._timeline._duration&&(t=0),(0>b||0>=t&&t>=-a||b===a&&"isPause"!==_.data)&&b!==t&&(r=!0,b>a&&(s="onReverseComplete")),_._rawPrevTime=p=!e||t||b===t?t:a)):a>t?(_._totalTime=_._time=_._cycle=0,_.ratio=_._ease._calcEnd?_._ease.getRatio(0):0,(0!==v||0===w&&b>0)&&(s="onReverseComplete",n=_._reversed),t>-a?t=0:0>t&&(_._active=!1,0===w&&(_._initted||!_.vars.lazy||r)&&(b>=0&&(r=!0),_._rawPrevTime=p=!e||t||b===t?t:a)),_._initted||(r=!0)):(_._totalTime=_._time=t,0!==_._repeat&&(u=w+_._repeatDelay,_._cycle=_._totalTime/u>>0,0!==_._cycle&&_._cycle===_._totalTime/u&&t>=v&&_._cycle--,_._time=_._totalTime-_._cycle*u,_._yoyo&&0!=(1&_._cycle)&&(_._time=w-_._time,(d=_._yoyoEase||_.vars.yoyoEase)&&(_._yoyoEase||(!0!==d||_._initted?_._yoyoEase=d=!0===d?_._ease:d instanceof Ease?d:Ease.map[d]:(d=_.vars.ease,_._yoyoEase=d=d?d instanceof Ease?d:"function"==typeof d?new Ease(d,_.vars.easeParams):Ease.map[d]||i.defaultEase:i.defaultEase)),_.ratio=d?1-d.getRatio((w-_._time)/w):0)),_._time>w?_._time=w:_._time<0&&(_._time=0)),_._easeType&&!d?(c=_._time/w,h=_._easeType,f=_._easePower,(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),_.ratio=1===h?1-c:2===h?c:_._time/w<.5?c/2:1-c/2):d||(_.ratio=_._ease.getRatio(_._time/w))),g!==_._time||r||y!==_._cycle){if(!_._initted){if(_._init(),!_._initted||_._gc)return;if(!r&&_._firstPT&&(!1!==_.vars.lazy&&_._duration||_.vars.lazy&&!_._duration))return _._time=g,_._totalTime=v,_._rawPrevTime=b,_._cycle=y,l.lazyTweens.push(_),void(_._lazy=[t,e]);!_._time||n||d?n&&this._ease._calcEnd&&!d&&(_.ratio=_._ease.getRatio(0===_._time?0:1)):_.ratio=_._ease.getRatio(_._time/w)}for(!1!==_._lazy&&(_._lazy=!1),_._active||!_._paused&&_._time!==g&&t>=0&&(_._active=!0),0===v&&(2===_._initted&&t>0&&_._init(),_._startAt&&(t>=0?_._startAt.render(t,!0,r):s||(s="_dummyGS")),_.vars.onStart&&(0!==_._totalTime||0===w)&&(e||_._callback("onStart"))),o=_._firstPT;o;)o.f?o.t[o.p](o.c*_.ratio+o.s):o.t[o.p]=o.c*_.ratio+o.s,o=o._next;_._onUpdate&&(0>t&&_._startAt&&_._startTime&&_._startAt.render(t,!0,r),e||(_._totalTime!==v||s)&&_._callback("onUpdate")),_._cycle!==y&&(e||_._gc||_.vars.onRepeat&&_._callback("onRepeat")),s&&(!_._gc||r)&&(0>t&&_._startAt&&!_._onUpdate&&_._startTime&&_._startAt.render(t,!0,r),n&&(_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[s]&&_._callback(s),0===w&&_._rawPrevTime===a&&p!==a&&(_._rawPrevTime=0))}else v!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new o(t,e,i)},o.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new o(t,e,r)},o.staggerTo=o.allTo=function(t,e,a,l,h,p,d){var _,m,g,v,y=[],w=s(a.stagger||l),b=a.cycle,x=(a.startAt||f).cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t))),_=(t=t||[]).length-1,g=0;_>=g;g++){m={};for(v in a)m[v]=a[v];if(b&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),x){x=m.startAt={};for(v in a.startAt)x[v]=a.startAt[v];n(m.startAt,t,g)}m.delay=w(g,t[g],t)+(m.delay||0),g===_&&h&&(m.onComplete=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),h.apply(d||a.callbackScope||this,p||f)}),y[g]=new o(t[g],e,m)}return y},o.staggerFrom=o.allFrom=function(t,e,i,r,n,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,o.staggerTo(t,e,i,r,n,s,a)},o.staggerFromTo=o.allFromTo=function(t,e,i,r,n,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,o.staggerTo(t,e,r,n,s,a,l)},o.delayedCall=function(t,e,i,r,n){return new o(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},o.set=function(t,e){return new o(t,0,e)},o.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var p=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),r=r.concat(p(s,e)),n=r.length),s=s._next;return r},d=o.getAllTweens=function(e){return p(t._rootTimeline,e).concat(p(t._rootFramesTimeline,e))};o.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,o,a,l=d(0!=n),u=l.length,c=i&&r&&n;for(a=0;u>a;a++)o=l[a],(c||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},o.killChildTweensOf=function(t,e){if(null!=t){var n,s,a,h,f,p=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),u(t)&&(t=r(t)),c(t))for(h=t.length;--h>-1;)o.killChildTweensOf(t[h],e);else{n=[];for(a in p)for(s=p[a].target.parentNode;s;)s===t&&(n=n.concat(p[a].tweens)),s=s.parentNode;for(f=n.length,h=0;f>h;h++)e&&n[h].totalTime(n[h].totalDuration()),n[h]._enabled(!1,!1)}}};var _=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,o,a=d(n=!1!==n),l=i&&r&&n,u=a.length;--u>-1;)o=a[u],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&r||i&&!s)&&o.paused(t)};return o.pauseAll=function(t,e,i){_(!0,t,e,i)},o.resumeAll=function(t,e,i){_(!1,t,e,i)},o.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||a,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate;for(r in s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,o=r._internals={},a=s.isSelector,l=s.isArray,u=s.lazyTweens,c=s.lazyRender,h=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},d=o.pauseCallback=function(){},_=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},o=isNaN(r),a=e.axis,l={center:.5,end:1}[r]||0;return function(t,u,c){var h,f,p,d,_,m,g,v,y,w=(c||e).length,b=s[w];if(!b){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=c[y++].getBoundingClientRect().left)&&w>y;);y--}for(b=s[w]=[],h=o?Math.min(y,w)*l-.5:r%y,f=o?w*l/y-.5:r/y|0,g=0,v=1/0,m=0;w>m;m++)p=m%y-h,d=f-(m/y|0),b[m]=_=a?Math.abs("y"===a?d:p):Math.sqrt(p*p+d*d),_>g&&(g=_),v>_&&(v=_);b.max=g-v,b.min=v,b.v=w=e.amount||e.each*(y>w?w-1:a?"y"===a?w/y:y:Math.max(y,w/y))||0,b.b=0>w?n-w:n}return w=(b[t]-b.min)/b.max,b.b+(i?i.getRatio(w):w)*b.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&h.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&h.TweenMax||i).from(t,e,_(0,r)),n)},g.fromTo=function(t,e,r,n,s){var o=n.repeat&&h.TweenMax||i;return n=_(0,n,r),e?this.add(o.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,o,l,u,c){var h,d,_=new r({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),v=n.startAt,y=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),d=0;d(s=o._startTime-o._delay)&&(n=1),l.add(o,s)),o=a;return u.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,o,a){var u,c,h,f,p,d,_=this;if("number"!=typeof s&&(s=_._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(o=o||"normal",a=a||0,u=s,c=n.length,h=0;c>h;h++)l(f=n[h])&&(f=new r({tweens:f})),_.add(f,u),"string"!=typeof f&&"function"!=typeof f&&("sequence"===o?u=f._startTime+f.totalDuration()/f._timeScale:"start"===o&&(f._startTime-=f.delay())),u+=a;return _._uncache(!0)}if("string"==typeof n)return _.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(_,n,s),(n._time||!n._duration&&n._initted)&&(u=(_.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),u)))-n._totalTime>1e-5)&&n.render(u,!1,!1)),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration())for(p=_,d=p.rawTime()>n._startTime;p._timeline;)d&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return _},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){e.prototype._remove.call(this,t,i);return this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,o;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(o=n.length;--o>-1;)n[o]instanceof t&&n[o].timeline===this&&this.remove(n[o]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,o,a,l,h,f,p,d=this,_=d._time,m=d._dirty?d.totalDuration():d._totalDuration,g=d._startTime,v=d._timeScale,y=d._paused;if(_!==d._time&&(t+=d._time-_),d._hasPause&&!d._forcingPlayhead&&!e){if(t>_)for(r=d._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(h=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&(d._time=d._totalTime=t=h._startTime,p=d._startTime+(d._reversed?d._duration-t:t)/d._timeScale)}if(t>=m-n&&t>=0)d._totalTime=d._time=m,d._reversed||d._hasPausedChild()||(s=!0,a="onComplete",l=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||d._rawPrevTime<0||d._rawPrevTime===n)&&d._rawPrevTime!==t&&d._first&&(l=!0,d._rawPrevTime>n&&(a="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(d._totalTime=d._time=0,t>-n&&(t=0),(0!==_||0===d._duration&&d._rawPrevTime!==n&&(d._rawPrevTime>0||0>t&&d._rawPrevTime>=0))&&(a="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(l=s=!0,a="onReverseComplete"):d._rawPrevTime>=0&&d._first&&(l=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(l=!0)}else d._totalTime=d._time=d._rawPrevTime=t;if(d._time!==_&&d._first||i||l||h){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._time!==_&&t>0&&(d._active=!0),0===_&&d.vars.onStart&&(0===d._time&&d._duration||e||d._callback("onStart")),(f=d._time)>=_)for(r=d._first;r&&(o=r._next,f===d._time&&(!d._paused||y));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(h===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=o;else for(r=d._last;r&&(o=r._prev,f===d._time&&(!d._paused||y));){if(r._active||r._startTime<=_&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>d._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=o}d._onUpdate&&(e||(u.length&&c(),d._callback("onUpdate"))),a&&(d._gc||(g===d._startTime||v!==d._timeScale)&&(0===d._time||m>=d.totalDuration())&&(s&&(u.length&&c(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[a]&&d._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(o[a++]=r[n]);return s&&this._enabled(!1,!0),o},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):o=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),o=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,o=s.lazyTweens,a=s.lazyRender,l=_gsScope._gsDefine.globals,u=new i(null,null,1,0),c=r.prototype=new t;return c.constructor=r,c.kill()._gc=!1,r.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},c.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},c.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},c.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},c.tweenTo=function(t,i){i=i||{};var r,n,s,o={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=i.repeat&&l.TweenMax||e;for(n in i)o[n]=i[n];return o.time=this._parseTimeOrLabel(t),r=Math.abs(Number(o.time)-this._time)/this._timeScale||.001,s=new a(this,r,o),o.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},c.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},c.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,u,c,h,f,p,d,_=this,m=_._time,g=_._dirty?_.totalDuration():_._totalDuration,v=_._duration,y=_._totalTime,w=_._startTime,b=_._timeScale,x=_._rawPrevTime,T=_._paused,A=_._cycle;if(m!==_._time&&(t+=_._time-m),t>=g-n&&t>=0)_._locked||(_._totalTime=g,_._cycle=_._repeat),_._reversed||_._hasPausedChild()||(s=!0,u="onComplete",c=!!_._timeline.autoRemoveChildren,0===_._duration&&(0>=t&&t>=-n||0>x||x===n)&&x!==t&&_._first&&(c=!0,x>n&&(u="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:n,_._yoyo&&1&_._cycle?_._time=t=0:(_._time=v,t=v+1e-4);else if(n>t)if(_._locked||(_._totalTime=_._cycle=0),_._time=0,t>-n&&(t=0),(0!==m||0===v&&x!==n&&(x>0||0>t&&x>=0)&&!_._locked)&&(u="onReverseComplete",s=_._reversed),0>t)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(c=s=!0,u="onReverseComplete"):x>=0&&_._first&&(c=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=v||!e||t||_._rawPrevTime===t?t:n,0===t&&s)for(r=_._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,_._initted||(c=!0)}else 0===v&&0>x&&(c=!0),_._time=_._rawPrevTime=t,_._locked||(_._totalTime=t,0!==_._repeat&&(h=v+_._repeatDelay,_._cycle=_._totalTime/h>>0,_._cycle&&_._cycle===_._totalTime/h&&t>=y&&_._cycle--,_._time=_._totalTime-_._cycle*h,_._yoyo&&1&_._cycle&&(_._time=v-_._time),_._time>v?(_._time=v,t=v+1e-4):_._time<0?_._time=t=0:t=_._time));if(_._hasPause&&!_._forcingPlayhead&&!e){if((t=_._time)>m||_._repeat&&A!==_._cycle)for(r=_._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(f=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(d=_._startTime+(_._reversed?_._duration-f._startTime:f._startTime)/_._timeScale,f._startTime0&&(_._active=!0),0===y&&_.vars.onStart&&(0===_._totalTime&&_._totalDuration||e||_._callback("onStart")),(p=_._time)>=m)for(r=_._first;r&&(l=r._next,p===_._time&&(!_._paused||T));)(r._active||r._startTime<=_._time&&!r._paused&&!r._gc)&&(f===r&&(_.pause(),_._pauseTime=d),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=_._last;r&&(l=r._prev,p===_._time&&(!_._paused||T));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>_._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,_.pause(),_._pauseTime=d}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}_._onUpdate&&(e||(o.length&&a(),_._callback("onUpdate"))),u&&(_._locked||_._gc||(w===_._startTime||b!==_._timeScale)&&(0===_._time||g>=_.totalDuration())&&(s&&(o.length&&a(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[u]&&_._callback(u)))}else y!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},c.getActive=function(t,e,i){var r,n,s=[],o=this.getChildren(t||null==t,e||null==t,!!i),a=0,l=o.length;for(r=0;l>r;r++)(n=o[r]).isActive()&&(s[a++]=n);return s},c.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},c.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},c.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},c.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},c.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},c.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r},!0),function(){var t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,o=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,r){var n={a:t},s={},o={},a={c:r},l=(t+e)/2,u=(e+i)/2,c=(i+r)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return n.b=l+(t-l)/4,s.b=h+p,n.c=s.a=(n.b+s.b)/2,s.c=o.a=(h+f)/2,o.b=f-p,a.b=c+(r-c)/4,o.c=a.a=(o.b+a.b)/2,[n,s,o,a]},l=function(t,n,s,o,l){var u,c,h,f,p,d,_,m,g,v,y,w,b,x=t.length-1,T=0,A=t[0].a;for(u=0;x>u;u++)p=t[T],c=p.a,h=p.d,f=t[T+1].d,l?(y=e[u],w=i[u],b=(w+y)*n*.25/(o?.5:r[u]||.5),d=h-(h-c)*(o?.5*n:0!==y?b/y:0),_=h+(f-h)*(o?.5*n:0!==w?b/w:0),m=h-(d+((_-d)*(3*y/(y+w)+.5)/4||0))):(d=h-(h-c)*n*.5,_=h+(f-h)*n*.5,m=h-(d+_)/2),d+=m,_+=m,p.c=g=d,p.b=0!==u?A:A=p.a+.6*(p.c-p.a),p.da=h-c,p.ca=g-c,p.ba=A-c,s?(v=a(c,A,g,h),t.splice(T,1,v[0],v[1],v[2],v[3]),T+=4):T++,A=_;(p=t[T]).b=A,p.c=A+.4*(p.d-A),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=A-p.a,s&&(v=a(p.a,A,p.c,p.d),t.splice(T,1,v[0],v[1],v[2],v[3]))},u=function(t,r,n,s){var a,l,u,c,h,f,p=[];if(s)for(t=[s].concat(t),l=t.length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(a=t.length-2))return p[0]=new o(t[0][r],0,0,t[0][r]),p;for(l=0;a>l;l++)u=t[l][r],c=t[l+1][r],p[l]=new o(u,0,0,c),n&&(h=t[l+2][r],e[l]=(e[l]||0)+(c-u)*(c-u),i[l]=(i[l]||0)+(h-c)*(h-c));return p[l]=new o(t[l][r],0,0,t[l+1][r]),p},c=function(t,s,o,a,c,h){var f,p,d,_,m,g,v,y,w={},b=[],x=h||t[0];c="string"==typeof c?","+c+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1);for(p in t[0])b.push(p);if(t.length>1){for(y=t[t.length-1],v=!0,f=b.length;--f>-1;)if(p=b[f],Math.abs(x[p]-y[p])>.05){v=!1;break}v&&(t=t.concat(),h&&t.unshift(h),t.push(t[1]),h=t[t.length-3])}for(e.length=i.length=r.length=0,f=b.length;--f>-1;)p=b[f],n[p]=-1!==c.indexOf(","+p+","),w[p]=u(t,p,n[p],h);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!a){for(f=b.length;--f>-1;)if(n[p])for(d=w[b[f]],g=d.length-1,_=0;g>_;_++)m=d[_+1].da/i[_]+d[_].da/e[_]||0,r[_]=(r[_]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=b.length,_=o?4:1;--f>-1;)p=b[f],d=w[p],l(d,s,o,a,n[p]),v&&(d.splice(0,_),d.splice(d.length-_,_));return w},h=function(t,e,i){var r,n,s,a,l,u,c,h,f,p,d,_={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,v=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(_[f=v[u]]=l=[],p=0,h=t.length,c=0;h>c;c++)r=null==i?t[c][f]:"string"==typeof(d=t[c][f])&&"="===d.charAt(1)?i[f]+Number(d.charAt(0)+d.substr(2)):Number(d),g&&c>1&&h-1>c&&(l[p++]=(r+l[p-2])/2),l[p++]=r;for(h=p-m+1,p=0,c=0;h>c;c+=m)r=l[c],n=l[c+1],s=l[c+2],a=2===m?0:l[c+3],l[p++]=d=3===m?new o(r,n,s,a):new o(r,(2*n+r)/3,(2*n+s)/3,s);l.length=p}return _},f=function(t,e,i){for(var r,n,s,o,a,l,u,c,h,f,p,d=1/i,_=t.length;--_>-1;)for(f=t[_],s=f.a,o=f.d-s,a=f.c-s,l=f.b-s,r=n=0,c=1;i>=c;c++)u=d*c,h=1-u,r=n-(n=(u*u*o+3*h*(u*a+h*l))*u),p=_*i+c-1,e[p]=(e[p]||0)+r*r},p=function(t,e){var i,r,n,s,o=[],a=[],l=0,u=0,c=(e=e>>0||6)-1,h=[],p=[];for(i in t)f(t[i],o,e);for(n=o.length,r=0;n>r;r++)l+=Math.sqrt(o[r]),s=r%e,p[s]=l,s===c&&(u+=l,s=r/e>>0,h[s]=p,a[s]=u,l=0,p=[]);return{length:u,lengths:a,segments:h}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,o,a,l=e.values||[],u={},f=l[0],d=e.autoRotate||i.vars.orientToBezier;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(r in f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],u[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),a||u[r]!==l[0][r]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):h(l,e.type,u),this._segCount=this._beziers[r].length,this._timeRes){var _=p(this._beziers,this._timeRes);this._length=_.length,this._lengths=_.lengths,this._segments=_.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(d=this._autoRotate)for(this._initialRotations=[],d[0]instanceof Array||(this._autoRotate=d=[d]),s=d.length;--s>-1;){for(o=0;3>o;o++)r=d[s][o],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=d[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,o,a,l,u,c,h,f,p=this._segCount,d=this._func,_=this._target,m=e!==this._startRatio;if(this._timeRes){if(c=this._lengths,h=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&p-1>n){for(u=p-1;u>n&&(this._l2=c[++n])<=f;);this._l1=c[n-1],this._li=n,this._curSeg=h=this._segments[n],this._s2=h[this._s1=this._si=0]}else if(f0){for(;n>0&&(this._l1=c[--n])>=f;);0===n&&fthis._s2&&nn&&(this._s2=h[++n])<=f;);this._s1=h[n-1],this._si=n}else if(f0){for(;n>0&&(this._s1=h[--n])>=f;);0===n&&fe?0:e>=1?p-1:p*e>>0,a=(e-i*(1/p))*p;for(r=1-a,n=this._props.length;--n>-1;)s=this._props[n],o=this._beziers[s][i],l=(a*a*o.da+3*r*(a*o.ca+r*o.ba))*a+o.a,this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l;if(this._autoRotate){var g,v,y,w,b,x,T,A=this._autoRotate;for(n=A.length;--n>-1;)s=A[n][2],x=A[n][3]||0,T=!0===A[n][4]?1:t,o=this._beziers[A[n][0]],g=this._beziers[A[n][1]],o&&g&&(o=o[i],g=g[i],v=o.a+(o.b-o.a)*a,w=o.b+(o.c-o.b)*a,v+=(w-v)*a,w+=(o.c+(o.d-o.c)*a-w)*a,y=g.a+(g.b-g.a)*a,b=g.b+(g.c-g.b)*a,y+=(b-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,w-v)*T+x:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,_)),d[s]?_[s](l):_[s]=l)}}}),_=d.prototype;d.bezierThrough=c,d.cubicToQuadratic=a,d._autoCSS=!0,d.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},d._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new d;var u,c,h,f=e.values,p=f.length-1,_=[],m={};if(0>p)return a;for(u=0;p>=u;u++)h=i(t,f[u],o,a,l,p!==u),_[u]=h.end;for(c in e)m[c]=e[c];return m.values=_,a=new n(t,"bezier",0,0,h.pt,2),a.data=h,a.plugin=l,a.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(u=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),m.autoRotate&&(o._transform||o._enableTransforms(!1),h.autoRotate=o._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(h.proxy,m,o._tween),a}})}},_._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},_._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=o.prototype=new t("css");u.constructor=o,o.version="2.1.3",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,u="px",o.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,h,f,p,d,_,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,A=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,O=/([A-Z])/g,C=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},I=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,L=Math.PI/180,j=180/Math.PI,N={},B={style:{}},X=_gsScope.document||{createElement:function(){return B}},q=function(t,e){var i=X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t);return i.style?i:X.createElement(t)},U=q("div"),W=q("img"),Q=o._internals={_specialProps:l},Y=(_gsScope.navigator||{}).userAgent||"",V=function(){var t=Y.indexOf("Android"),e=q("a");return f=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),d=f&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,p=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),H=function(t){return A.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){_gsScope.console&&console.log(t)},G="",Z="",K=function(t,e){var i,r,n=(e=e||U).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z=3===r?"ms":i[r],G="-"+Z.toLowerCase()+"-",Z+t):null},J="undefined"!=typeof window?window:X.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=o.getStyle=function(t,e,i,r,n){var s;return V||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(O,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):H(t)},it=Q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,u,c=I.test(i),h=t,f=U.style,p=0>r,d=1===r;if(p&&(r=-r),d&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&h.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(h=t.parentNode||X.body,-1!==et(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*r/100;f[c?"width":"height"]=r+n}h.appendChild(U),a=parseFloat(U[c?"offsetWidth":"offsetHeight"]),h.removeChild(U),c&&"%"===n&&!1!==o.cacheWidths&&(l=h._gsCache=h._gsCache||{},l.time=u,l.width=a/r*100),0!==a||s||(a=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},rt=Q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(T,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Et===n)&&(s[n.replace(C,E)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||Rt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return V||(s.opacity=H(t)),r=Wt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Mt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(x,"")?s:0:rt(t,o),void 0!==u[o]&&(a=new wt(u,o,u[o],a)));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ut=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(x,"")),e.oy=parseFloat(s.replace(x,"")),e.v=t),e||t},ct=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,o,a,l;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,s=t.split("_"),l="="===t.charAt(1),o=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:j)-(l?0:e),s.length&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&(o%=n)!=o%(n/2)&&(o=0>o?o+n:o-n),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),1e-6>a&&a>-1e-6&&(a=0),a},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,r,n,s,o,a,l,u,c,h,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(i[0])%360/360,a=Number(i[1])/100,l=Number(i[2])/100,n=.5>=l?l*(a+1):l+a-l*a,r=2*l-n,i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,r,n),i[1]=dt(o,r,n),i[2]=dt(o-1/3,r,n);else i=t.match(v)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,u=Math.max(r,n,s),c=Math.min(r,n,s),l=(u+c)/2,u===c?o=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),o=u===r?(n-s)/h+(s>n?6:0):u===n?(s-r)/h+2:(r-n)/h+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i0?o[0].replace(v,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(r&&D.test(t)){for(d=t.replace(D,"|").split("|"),p=0;pp--)for(;++pf--)for(;++fl;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return n.parse(e,a,s,o)}},wt=(Q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,o=this.data,a=o.proxy,l=o.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r0;)l="xn"+o,a=r.p+"_"+l,p[a]=r.data[l],f[a]=r[l],s||(u=new wt(r,l,a,u,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:u,pt:c}},Q.CSSPropTween=function(t,e,r,n,o,a,l,u,c,h,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof bt||s.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===h?r:h,this.e=void 0===f?r+n:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,r,n,s){var o=new bt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,u,h){i=i||s||"","function"==typeof r&&(r=r(g,m)),a=new bt(t,e,0,0,a,h?2:1,null,!1,l,i,r),r+="",n&>.test(r+i)&&(r=[i,r],o.colorStringFilter(r),i=r[0],r=r[1]);var f,p,d,_,w,b,x,T,A,S,P,k,O,C=i.split(", ").join(",").split(" "),R=r.split(", ").join(",").split(" "),E=C.length,I=!1!==c;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(C=C.join(" ").replace(D,", ").split(" "),R=R.join(" ").replace(D,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),R=R.join(" ").split(",").join(", ").split(" ")),E=C.length),E!==R.length&&(C=(s||"").split(" "),E=C.length),a.plugin=u,a.setRatio=h,gt.lastIndex=0,f=0;E>f;f++)if(_=C[f],w=R[f]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,ct(w,T),w.replace(y,""),!(!I||-1===w.indexOf("px"))&&Math.round,!0);else if(n&>.test(_))k=w.indexOf(")")+1,k=")"+(k?w.substr(k):""),O=-1!==w.indexOf("hsl")&&V,S=w,_=_t(_,O),w=_t(w,O),(A=_.length+w.length>6)&&!V&&0===w[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(R[f]).join("transparent")):(V||(A=!1),O?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(A?"hsla(":"hsl("),_[0],ct(w[0],_[0]),",",!1,!0).appendXtra("",_[1],ct(w[1],_[1]),"%,",!1).appendXtra("",_[2],ct(w[2],_[2]),A?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(A?"rgba(":"rgb("),_[0],w[0]-_[0],",",Math.round,!0).appendXtra("",_[1],w[1]-_[1],",",Math.round).appendXtra("",_[2],w[2]-_[2],A?",":k,Math.round),A&&(_=_.length<4?1:_[3],a.appendXtra("",_,(w.length<4?1:w[3])-_,k,!1))),gt.lastIndex=0;else if(b=_.match(v)){if(!(x=w.match(y))||x.length!==b.length)return a;for(d=0,p=0;p0;)u["xn"+At]=0,u["xs"+At]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new bt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix?K(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=Q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;ra.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(c=e.indexOf(f),h=i.indexOf(f),c!==h&&(-1===h?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f)));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,r,n,s,o,a,l){var u=new bt(t,n,0,0,o,2,n,!1,i);return u.plugin=a,u.setRatio=e(t,r,s._tween,n),u},priority:i})},o.useSVGTransformAttr=!0;var Ot,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=K("transform"),Et=G+"transform",It=K("transformOrigin"),Mt=null!==K("perspective"),zt=Q.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Mt)&&(o.defaultForce3D||"auto")},Dt=_gsScope.SVGElement,Ft=function(t,e,i){var r,n=X.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Lt=X.documentElement||{},jt=function(){var t,e,i,r=_||/Android/i.test(Y)&&!_gsScope.chrome;return X.createElementNS&&Lt.appendChild&&!r&&(t=Ft("svg",Lt),e=Ft("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[It]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Mt),Lt.removeChild(t)),r}(),Nt=function(t,e,i,r,n,s){var a,l,u,c,h,f,p,d,_,m,g,v,y,w,b=t._gsTransform,x=Ut(t,!0);b&&(y=b.xOrigin,w=b.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),e=ut(e).split(" "),a=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=c=parseFloat(a[0]),i.yOrigin=h=parseFloat(a[1]),r&&x!==qt&&(f=x[0],p=x[1],d=x[2],_=x[3],m=x[4],g=x[5],(v=f*_-p*d)&&(l=c*(_/v)+h*(-d/v)+(d*g-_*m)/v,u=c*(-p/v)+h*(f/v)-(f*g-p*m)/v,c=i.xOrigin=a[0]=l,h=i.yOrigin=a[1]=u)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==o.defaultSmoothOrigin?(l=c-y,u=h-w,b.xOffset+=l*x[0]+u*x[2]-l,b.yOffset+=l*x[1]+u*x[3]-u):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Bt=function(t){var e,i=q("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Lt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Bt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Lt.removeChild(i),this.style.cssText=s,e},Xt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Bt.call(t,!0)}}(t))},qt=[1,0,0,1,0,0],Ut=function(t,e){var i,r,n,s,o,a,l,u=t._gsTransform||new zt,c=t.style;if(Rt?r=et(t,Et,null,!0):t.currentStyle&&(r=t.currentStyle.filter.match(M),r=r&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),u.x||0,u.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Rt&&i&&!t.offsetParent&&t!==Lt&&(s=c.display,c.display="block",(l=t.parentNode)&&t.offsetParent||(o=1,a=t.nextSibling,Lt.appendChild(t)),r=et(t,Et,null,!0),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?c.display=s:Ht(c,"display"),o&&(a?l.insertBefore(t,a):l?l.appendChild(t):Lt.removeChild(t))),(u.svg||t.getCTM&&Xt(t))&&(i&&-1!==(c[Rt]+"").indexOf("matrix")&&(r=c[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(n=t.transform.baseVal.consolidate().matrix,r="matrix("+n.a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return qt;for(n=(r||"").match(v)||[],At=n.length;--At>-1;)s=Number(n[At]),n[At]=(o=s-(s|=0))?(1e5*o+(0>o?-.5:.5)|0)/1e5+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Wt=Q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,u,c,h,f=r?t._gsTransform||new zt:new zt,p=f.scaleX<0,d=2e-5,_=1e5,m=Mt?parseFloat(et(t,It,i,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0,g=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Nt(t,et(t,It,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||jt),(s=Ut(t))!==qt){if(16===s.length){var v,y,w,b,x,T=s[0],A=s[1],S=s[2],P=s[3],k=s[4],O=s[5],C=s[6],R=s[7],E=s[8],I=s[9],M=s[10],z=s[12],D=s[13],F=s[14],L=s[11],N=Math.atan2(C,M);f.zOrigin&&(F=-f.zOrigin,z=E*F-s[12],D=I*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=N*j,N&&(b=Math.cos(-N),x=Math.sin(-N),v=k*b+E*x,y=O*b+I*x,w=C*b+M*x,E=k*-x+E*b,I=O*-x+I*b,M=C*-x+M*b,L=R*-x+L*b,k=v,O=y,C=w),N=Math.atan2(-S,M),f.rotationY=N*j,N&&(b=Math.cos(-N),x=Math.sin(-N),v=T*b-E*x,y=A*b-I*x,w=S*b-M*x,I=A*x+I*b,M=S*x+M*b,L=P*x+L*b,T=v,A=y,S=w),N=Math.atan2(A,T),f.rotation=N*j,N&&(b=Math.cos(N),x=Math.sin(N),v=T*b+A*x,y=k*b+O*x,w=E*b+I*x,A=A*b-T*x,O=O*b-k*x,I=I*b-E*x,T=v,k=y,E=w),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(k,O),f.scaleX=(Math.sqrt(T*T+A*A+S*S)*_+.5|0)/_,f.scaleY=(Math.sqrt(O*O+C*C)*_+.5|0)/_,f.scaleZ=(Math.sqrt(E*E+I*I+M*M)*_+.5|0)/_,T/=f.scaleX,k/=f.scaleY,A/=f.scaleX,O/=f.scaleY,Math.abs(N)>d?(f.skewX=N*j,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(0>L?-L:L):0,f.x=z,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*A-f.xOrigin*O))}else if(!Mt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var B=s.length>=6,X=B?s[0]:1,q=s[1]||0,U=s[2]||0,W=B?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+q*q),u=Math.sqrt(W*W+U*U),c=X||q?Math.atan2(q,X)*j:f.rotation||0,h=U||W?Math.atan2(U,W)*j+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*U),f.y-=f.yOrigin-(f.xOrigin*q+f.yOrigin*W))}Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m;for(a in f)f[a]-d&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?e.delayedCall(.001,function(){Ht(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Qt=function(t){var e,i,r=this.data,n=-r.rotation*L,s=n+r.skewX*L,o=1e5,a=(Math.cos(n)*r.scaleX*o|0)/o,l=(Math.sin(n)*r.scaleX*o|0)/o,u=(Math.sin(s)*-r.scaleY*o|0)/o,c=(Math.cos(s)*r.scaleY*o|0)/o,h=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-u,u=-i,e=f.filter,h.filter="";var p,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,w=r.x+m*r.xPercent/100,b=r.y+g*r.yPercent/100;if(null!=r.ox&&(p=(r.oxp?m*r.ox*.01:r.ox)-m/2,d=(r.oyp?g*r.oy*.01:r.oy)-g/2,w+=p-(p*a+d*l),b+=d-(p*u+d*c)),v?(p=m/2,d=g/2,y+=", Dx="+(p-(p*a+d*l)+w)+", Dy="+(d-(p*u+d*c)+b)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?h.filter=e.replace(z,y):h.filter=y+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(v&&-1===y.indexOf("Dx=0, Dy=0")||A.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&h.removeAttribute("filter")),!v){var x,S,P,k=8>_?1:-1;for(p=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>a?-a:a)*m+(0>l?-l:l)*g))/2+w),r.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>u?-u:u)*m))/2+b),At=0;4>At;At++)S=at[At],x=f[S],i=-1!==x.indexOf("px")?parseFloat(x):it(this.t,S,parseFloat(x),x.replace(T,""))||0,P=i!==r[S]?2>At?-r.ieOffsetX:-r.ieOffsetY:2>At?p-r.ieOffsetX:d-r.ieOffsetY,h[S]=(r[S]=Math.round(i-P*(0===At||2===At?1:k)))+"px"}}},Yt=Q.set3DTransformRatio=Q.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,u,c,h,f,d,_,m,g,v,y,w,b,x,T,A,S=this.data,P=this.t.style,k=S.rotation,O=S.rotationX,C=S.rotationY,R=S.scaleX,E=S.scaleY,I=S.scaleZ,M=S.x,z=S.y,D=S.z,F=S.svg,j=S.perspective,N=S.force3D,B=S.skewY,X=S.skewX;if(B&&(X+=B,k+=B),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||D||j||C||O||1!==I)||Ot&&F||!Mt)k||X||F?(k*=L,T=X*L,A=1e5,i=Math.cos(k)*R,s=Math.sin(k)*R,r=Math.sin(k-T)*-E,o=Math.cos(k-T)*E,T&&"simple"===S.skewType&&(e=Math.tan(T-B*L),e=Math.sqrt(1+e*e),r*=e,o*=e,B&&(e=Math.tan(B*L),e=Math.sqrt(1+e*e),i*=e,s*=e)),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset,Ot&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),M+=.01*S.xPercent*m.width,z+=.01*S.yPercent*m.height),(m=1e-6)>M&&M>-m&&(M=0),m>z&&z>-m&&(z=0)),w=(i*A|0)/A+","+(s*A|0)/A+","+(r*A|0)/A+","+(o*A|0)/A+","+M+","+z+")",F&&Ot?this.t.setAttribute("transform","matrix("+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+w):P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+E+","+M+","+z+")";else{if(p&&((m=1e-4)>R&&R>-m&&(R=I=2e-5),m>E&&E>-m&&(E=I=2e-5),!j||S.z||S.rotationX||S.rotationY||(j=0)),k||X)k*=L,g=i=Math.cos(k),v=s=Math.sin(k),X&&(k-=X*L,g=Math.cos(k),v=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((X-B)*L),e=Math.sqrt(1+e*e),g*=e,v*=e,S.skewY&&(e=Math.tan(B*L),e=Math.sqrt(1+e*e),i*=e,s*=e))),r=-v,o=g;else{if(!(C||O||1!==I||j||F))return void(P[Rt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+z+"px,"+D+"px)"+(1!==R||1!==E?" scale("+R+","+E+")":""));i=o=1,r=s=0}c=1,n=a=l=u=h=f=0,d=j?-1/j:0,_=S.zOrigin,m=1e-6,b=",",x="0",(k=C*L)&&(g=Math.cos(k),v=Math.sin(k),l=-v,h=d*-v,n=i*v,a=s*v,c=g,d*=g,i*=g,s*=g),(k=O*L)&&(g=Math.cos(k),v=Math.sin(k),e=r*g+n*v,y=o*g+a*v,u=c*v,f=d*v,n=r*-v+n*g,a=o*-v+a*g,c*=g,d*=g,r=e,o=y),1!==I&&(n*=I,a*=I,c*=I,d*=I),1!==E&&(r*=E,o*=E,u*=E,f*=E),1!==R&&(i*=R,s*=R,l*=R,h*=R),(_||F)&&(_&&(M+=n*-_,z+=a*-_,D+=c*-_+_),F&&(M+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,z+=S.yOrigin-(S.xOrigin*s+S.yOrigin*o)+S.yOffset),m>M&&M>-m&&(M=x),m>z&&z>-m&&(z=x),m>D&&D>-m&&(D=0)),w=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",w+=(m>i&&i>-m?x:i)+b+(m>s&&s>-m?x:s)+b+(m>l&&l>-m?x:l),w+=b+(m>h&&h>-m?x:h)+b+(m>r&&r>-m?x:r)+b+(m>o&&o>-m?x:o),O||C||1!==I?(w+=b+(m>u&&u>-m?x:u)+b+(m>f&&f>-m?x:f)+b+(m>n&&n>-m?x:n),w+=b+(m>a&&a>-m?x:a)+b+(m>c&&c>-m?x:c)+b+(m>d&&d>-m?x:d)+b):w+=",0,0,0,0,1,0,",w+=M+b+z+b+D+b+(j?1+-D/j:1)+")",P[Rt]=w}};(u=zt.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(g,t));var c,h,f,p,d,_,v,y,w,b=t._gsTransform,x=t.style,T=Ct.length,A=l,S={},P="transformOrigin",k=Wt(t,n,!0,A.parseTransform),O=A.transform&&("function"==typeof A.transform?A.transform(g,m):A.transform);if(k.skewType=A.skewType||k.skewType||o.defaultSkewType,r._transform=k,"rotationZ"in A&&(A.rotation=A.rotationZ),O&&"string"==typeof O&&Rt)h=U.style,h[Rt]=O,h.display="block",h.position="absolute",-1!==O.indexOf("%")&&(h.width=et(t,"width"),h.height=et(t,"height")),X.body.appendChild(U),c=Wt(U,null,!1),"simple"===k.skewType&&(c.scaleY*=Math.cos(c.skewX*L)),k.svg&&(_=k.xOrigin,v=k.yOrigin,c.x-=k.xOffset,c.y-=k.yOffset,(A.transformOrigin||A.svgOrigin)&&(O={},Nt(t,ut(A.transformOrigin),O,A.svgOrigin,A.smoothOrigin,!0),_=O.xOrigin,v=O.yOrigin,c.x-=O.xOffset-k.xOffset,c.y-=O.yOffset-k.yOffset),(_||v)&&(y=Ut(U,!0),c.x-=_-(_*y[0]+v*y[2]),c.y-=v-(_*y[1]+v*y[3]))),X.body.removeChild(U),c.perspective||(c.perspective=k.perspective),null!=A.xPercent&&(c.xPercent=ht(A.xPercent,k.xPercent)),null!=A.yPercent&&(c.yPercent=ht(A.yPercent,k.yPercent));else if("object"==typeof A){if(c={scaleX:ht(null!=A.scaleX?A.scaleX:A.scale,k.scaleX),scaleY:ht(null!=A.scaleY?A.scaleY:A.scale,k.scaleY),scaleZ:ht(A.scaleZ,k.scaleZ),x:ht(A.x,k.x),y:ht(A.y,k.y),z:ht(A.z,k.z),xPercent:ht(A.xPercent,k.xPercent),yPercent:ht(A.yPercent,k.yPercent),perspective:ht(A.transformPerspective,k.perspective)},null!=(d=A.directionalRotation))if("object"==typeof d)for(h in d)A[h]=d[h];else A.rotation=d;"string"==typeof A.x&&-1!==A.x.indexOf("%")&&(c.x=0,c.xPercent=ht(A.x,k.xPercent)),"string"==typeof A.y&&-1!==A.y.indexOf("%")&&(c.y=0,c.yPercent=ht(A.y,k.yPercent)),c.rotation=ft("rotation"in A?A.rotation:"shortRotation"in A?A.shortRotation+"_short":k.rotation,k.rotation,"rotation",S),Mt&&(c.rotationX=ft("rotationX"in A?A.rotationX:"shortRotationX"in A?A.shortRotationX+"_short":k.rotationX||0,k.rotationX,"rotationX",S),c.rotationY=ft("rotationY"in A?A.rotationY:"shortRotationY"in A?A.shortRotationY+"_short":k.rotationY||0,k.rotationY,"rotationY",S)),c.skewX=ft(A.skewX,k.skewX),c.skewY=ft(A.skewY,k.skewY)}for(Mt&&null!=A.force3D&&(k.force3D=A.force3D,p=!0),(f=k.force3D||k.z||k.rotationX||k.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==A.scale||(c.scaleZ=1);--T>-1;)w=Ct[T],((O=c[w]-k[w])>1e-6||-1e-6>O||null!=A[w]||null!=N[w])&&(p=!0,s=new bt(k,w,k[w],O,s),w in S&&(s.e=S[w]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return O="function"==typeof A.transformOrigin?A.transformOrigin(g,m):A.transformOrigin,k.svg&&(O||A.svgOrigin)&&(_=k.xOffset,v=k.yOffset,Nt(t,ut(O),c,A.svgOrigin,A.smoothOrigin),s=xt(k,"xOrigin",(b?k:c).xOrigin,c.xOrigin,s,P),s=xt(k,"yOrigin",(b?k:c).yOrigin,c.yOrigin,s,P),(_!==k.xOffset||v!==k.yOffset)&&(s=xt(k,"xOffset",b?_:k.xOffset,k.xOffset,s,P),s=xt(k,"yOffset",b?v:k.yOffset,k.yOffset,s,P)),O="0px 0px"),(O||Mt&&f&&k.zOrigin)&&(Rt?(p=!0,w=It,O||(O=(et(t,w,n,!1,"50% 50%")+"").split(" "),O=O[0]+" "+O[1]+" "+k.zOrigin+"px"),O+="",s=new bt(x,w,0,0,s,-1,P),s.b=x[w],s.plugin=a,Mt?(h=k.zOrigin,O=O.split(" "),k.zOrigin=(O.length>2?parseFloat(O[2]):h)||0,s.xs0=s.e=O[0]+" "+(O[1]||"50%")+" 0px",s=new bt(k,"zOrigin",0,0,s,-1,s.n),s.b=h,s.xs0=s.e=k.zOrigin):s.xs0=s.e=O):ut(O+"",k)),p&&(r._transformType=k.svg&&Ot||!f&&3!==this._transformType?2:3),u&&(l.scale=u),s},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:vt("inset(0% 0% 0% 0%)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,u,c,h,f,p,d,_,m,g,v,y,w,b,x,T,A=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u_?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=r[i]||y),v!==y&&(b=it(t,"borderLeft",d,y),x=it(t,"borderTop",d,y),"%"===v?(f=b/m*100+"%",h=x/g*100+"%"):"em"===v?(T=it(t,"borderLeft",1,"em"),f=b/T+"em",h=x/T+"em"):(f=b+"px",h=x+"px"),w&&(p=parseFloat(f)+_+v,c=parseFloat(h)+_+v)),o=Tt(S,A[u],f+" "+h,p+" "+c,!1,"0px",o);return o},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,o){return Tt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,o){var a,l,u,c,h,f,p="background-position",d=n||tt(t),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=et(t,"backgroundImage").replace(R,""))&&"none"!==f){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),u=2;--u>-1;)m=a[u],(c=-1!==m.indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-W.width:t.offsetHeight-W.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,g,s,o)},formatter:ut}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ut(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,o){var a,l,u;return 9>_?(l=t.currentStyle,u=8>_?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,o){var a=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/it(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Pt("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Vt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(A,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,o){var a=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===et(t,"visibility",n)&&0!==e&&(a=0),V?s=new bt(l,"opacity",a,e-a,s):(s=new bt(l,"opacity",100*a,100*(e-a),s),s.xn1=u?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Vt),u&&(s=new bt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),s.xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Ht=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(O,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ht(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(t,e,r,s,o,a,l){var u,c,h,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if(o=s._classNamePT=new bt(t,r,0,0,o,2),o.setRatio=$t,o.pr=-11,i=!0,o.b=d,c=nt(t,n),h=t._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),u=st(t,c,nt(t),l,f),t.setAttribute("class",d),o.data=u.firstMPT,t.style.cssText!==_&&(t.style.cssText=_),o=o.xfirst=s.parse(t,u.difs,o,a)}});var Gt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(e=this.e.split(" ").join("").split(","),r=e.length;--r>-1;)i=e[r],l[i]&&(l[i].parse===a?n=!0:i="transformOrigin"===i?It:l[i].p),Ht(o,i);n&&(Ht(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(t,e,r,n,s){return s=new bt(t,r,0,0,s,2),s.setRatio=Gt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),At=u.length;At--;)kt(u[At]);(u=o.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,u){if(!t.nodeType)return!1;this._target=m=t,this._tween=a,this._vars=e,g=u,c=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=tt(t),s=this._overwriteProps;var p,_,v,y,w,b,x,T,A,P=t.style;if(h&&""===P.zIndex&&("auto"===(p=et(t,"zIndex",n))||""===p)&&this._addLazySet(P,"zIndex",0),"string"==typeof e&&(y=P.cssText,p=nt(t,n),P.cssText=y+";"+e,p=st(t,p,nt(t)).difs,!V&&S.test(e)&&(p.opacity=parseFloat(RegExp.$1)),e=p,P.cssText=y),e.className?this._firstPT=_=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=_=this.parse(t,e,null),this._transformType){for(A=3===this._transformType,Rt?f&&(h=!0,""===P.zIndex&&("auto"===(x=et(t,"zIndex",n))||""===x)&&this._addLazySet(P,"zIndex",0),d&&this._addLazySet(P,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(A?"visible":"hidden"))):P.zoom=1,v=_;v&&v._next;)v=v._next;T=new bt(t,"transform",0,0,null,2),this._linkCSSP(T,null,v),T.setRatio=Rt?Yt:Qt,T.data=this._transform||Wt(t,n,!0),T.tween=a,T.pr=-1,s.pop()}if(i){for(;_;){for(b=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:w)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:w=_,_=b}this._firstPT=y}return!0},u.parse=function(t,e,i,s){var o,a,u,h,f,p,d,_,v,y,w=t.style;for(o in e){if(p=e[o],a=l[o],"function"!=typeof p||a&&a.allowFunc||(p=p(g,m)),a)i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=et(t,o,n)+"",v="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||v&&k.test(p)?(v||(p=_t(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Tt(w,o,f,p,!0,"transparent",i,0,s)):v&&F.test(p)?i=Tt(w,o,f,p,!0,null,i,0,s):(u=parseFloat(f),d=u||0===u?f.substr((u+"").length):"",(""===f||"auto"===f)&&("width"===o||"height"===o?(u=lt(t,o,n),d="px"):"left"===o||"top"===o?(u=rt(t,o,n),d="px"):(u="opacity"!==o?0:1,d="")),(y=v&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(T,"")):(h=parseFloat(p),_=v?p.replace(T,""):""),""===_&&(_=o in r?r[o]:d),p=h||0===h?(y?h+u:h)+_:e[o],d!==_&&(""!==_||"lineHeight"===o)&&(h||0===h)&&u&&(u=it(t,o,u,d),"%"===_?(u/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(f=u+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?u/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),y&&(h||0===h)&&(p=h+u+_)),y&&(h+=u),!u&&0!==u||!h&&0!==h?void 0!==w[o]&&(p||p+""!="NaN"&&null!=p)?(i=new bt(w,o,h||u||0,0,i,-1,o,!1,0,f,p),i.xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f):$("invalid "+o+" tween value: "+e[o]):(i=new bt(w,o,u,h-u,i,0,o,!1!==c&&("px"===_||"zIndex"===o),0,f,p),i.xs0=_))}s&&i&&!i.plugin&&(i.plugin=s)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):1e-6>e&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r-1;)Kt(t[n],e,i);else for(r=t.childNodes,n=r.length;--n>-1;)s=r[n],o=s.type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Kt(s,e,i)};return o.cascadeTo=function(t,i,r){var n,s,o,a,l=e.to(t,i,r),u=[l],c=[],h=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,c,f),l.render(i,!0,!0),Kt(t,h),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],c[n],h[n])).firstMPT){s=s.difs;for(o in r)p[o]&&(s[o]=r[o]);a={};for(o in s)a[o]=c[n][o];u.push(e.fromTo(f[n],i,a,s))}return u},t.activate([o]),o},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,o=this._tween,a=o.vars.roundProps,l={},u=o._propLookup.roundProps;if("object"!=typeof a||a.push)for("string"==typeof a&&(a=a.split(",")),n=a.length;--n>-1;)l[a[n]]=Math.round;else for(s in a)l[s]=e(a[s]);for(s in l)for(t=o._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:o._firstPT===t&&(o._firstPT=r),t._next=t._prev=null,o._propLookup[s]=u)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,o,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(n in e)"useRadians"!==n&&("function"==typeof(a=e[n])&&(a=a(r,t)),u=(a+"").split("_"),s=u[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),a=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0,l=a-o,u.length&&(-1!==(s=u.join("_")).indexOf("short")&&(l%=c)!=l%(c/2)&&(l=0>l?l+c:l-c),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||-1e-6>l)&&(this._addTween(t,n,o,o+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,u=o._class,c=function(e,i){var r=u("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},h=t.register||function(){},f=function(t,e,i,r,n){var s=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(s,t),s},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},d=function(e,i){var r=u("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},_=f("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=u("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=u("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=u("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=u("easing.RoughEase",function(e){for(var i,r,n,s,o,a,l=(e=e||{}).taper||"none",u=[],c=0,h=0|(e.points||20),f=h,d=!1!==e.randomize,_=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/h*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?(s=1-i,n=s*s*g):"in"===l?n=i*i*g:.5>i?(s=2*i,n=s*s*.5*g):(s=2*(1-i),n=s*s*.5*g),d?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,_&&(r>1?r=1:0>r&&(r=0)),u[c++]={x:i,y:r};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=h;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),g=r.prototype=new t,g.constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",c("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,r){var n=u("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*l)}),c("SineIn",function(t){return 1-Math.cos(t*l)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(r,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),_},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var o,a,l,u,c,h=function(t){var e,i=t.split("."),r=n;for(e=0;e-1;)(c=g[s[_]]||new v(s[_],[])).gsClass?(l[_]=c.gsClass,m--):u&&c.sc.push(this);if(0===m&&o){if(f=("com.greensock."+r).split("."),p=f.pop(),d=h(f.join("."))[p]=this.gsClass=o.apply(o,l),a)if(n[p]=i[p]=d,"undefined"!=typeof module&&module.exports)if(r===e){module.exports=i[e]=d;for(_ in i)d[_]=i[_]}else i[e]&&(i[e][p]=d);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return d});for(_=0;_-1;)for(s=l[u],n=r?w("easing."+s,null,!0):f.easing[s]||{},o=c.length;--o>-1;)a=c[o],T[s+"."+a]=T[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,A(new x(null,null,1,a),l,"easeOut",!0),A(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),A(new x(null,null,3,a),l,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var S=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==u||c||u.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,k=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},C=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],k=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var i,n,s,o,a,l=this,h=O(),f=!(!1===e||!P)&&"auto",p=500,d=33,m=function(t){var e,r,u=O()-C;u>p&&(h+=u-d),C+=u,l.time=(C-h)/1e3,e=l.time-a,(!i||e>0||!0===t)&&(l.frame++,a+=e+(e>=o?.004:o-e),r=!0),!0!==t&&(s=n(m)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){m(!0)},l.lagSmoothing=function(t,e){return arguments.length?(p=t||1e8,void(d=Math.min(e,p,0))):1e8>p},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=_,s=null,l===u&&(c=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-C+(C=O()):l.frame>10&&(C=O()-p+5),n=0===i?_:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===u&&(c=!0),m(2)},l.fps=function(t){return arguments.length?(i=t,o=1/(i||60),a=this.time+o,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=w("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,G){c||u.wake();var i=this.vars.useFrames?$:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});u=R.ticker=new f.Ticker,(l=R.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var E=function(){c&&O()-C>2e3&&("hidden"!==(r||{}).visibilityState||!u.lagSmoothing())&&u.wake();var t=setTimeout(E,2e3);t.unref&&t.unref()};E(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(c||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(D.length&&K(),this.render(t,e,!1),D.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||p,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(c||t||u.wake(),e=r.rawTime(),i=e-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=w("core.SimpleTimeline",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=I.prototype=new R).constructor=I,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return c||u.wake(),this._totalTime};var M=w("TweenLite",function(e,i,r){if(R.call(this,i,r),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var n,s,o,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?H[M.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=o=d(e),this._propLookup=[],this._siblings=[],n=0;n1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=M.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-p,this.render(Math.min(0,-this._delay)))},!0),z=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=M.prototype=new R).constructor=M,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,M.version="2.1.3",M.defaultEase=l._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=u,M.autoSleep=120,M.lagSmoothing=function(t,e){u.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var D=[],F={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=/[\+-]=-?[\.\d]/,N=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):1e-6>e&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t){return(1e3*t|0)/1e3+""},X=function(t,e,i,r){var n,s,o,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,n=t.match(L)||[],s=e.match(L)||[],r&&(r._next=null,r.blob=1,h._firstPT=h._applyPT=r),l=s.length,a=0;l>a;a++)c=s[a],u=e.substr(f,e.indexOf(c,f)-f),p+=u||!a?u:",",f+=u.length,d?d=(d+1)%5:"rgba("===u.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(h.push(p),p=""),o=parseFloat(n[a]),h.push(o),h._firstPT={_next:h._firstPT,t:h,p:h.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&4>d?Math.round:B}),f+=c.length;return(p+=e.substr(f))&&h.push(p),h.setRatio=N,j.test(e)&&(h.end=null),h},q=function(t,e,i,r,n,s,o,a,l){"function"==typeof r&&(r=r(l||0,t));var u,c=typeof t[e],h="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:h?o?t[h](o):t[h]():t[e],p="string"==typeof r&&"="===r.charAt(1),d={t:t,p:e,s:f,f:"function"===c,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:p?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};return("number"!=typeof f||"number"!=typeof r&&!p)&&(o||isNaN(f)||!p&&isNaN(r)||"boolean"==typeof f||"boolean"==typeof r?(d.fp=o,u=X(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):r,a||M.defaultStringFilter,d),d={t:u,p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(r)-d.s||0))),d.c?((d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d):void 0},U=M._internals={isArray:m,isSelector:z,lazyTweens:D,blobDif:X},W=M._plugins={},Q=U.tweenLookup={},Y=0,V=U.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},$=R._rootFramesTimeline=new I,G=R._rootTimeline=new I,Z=30,K=U.lazyRender=function(){var t,e,i=D.length;for(F={},t=0;i>t;t++)(e=D[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);D.length=0};G._startTime=u.time,$._startTime=u.frame,G._active=$._active=!0,setTimeout(K,1),R._updateRoot=M.render=function(){var t,e,i;if(D.length&&K(),G.render((u.time-G._startTime)*G._timeScale,!1,!1),$.render((u.frame-$._startTime)*$._timeScale,!1,!1),D.length&&K(),u.frame>=Z){Z=u.frame+(parseInt(M.autoSleep,10)||120);for(i in Q){for(t=(e=Q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Q[i]}if((!(i=G._first)||i._paused)&&M.autoSleep&&!$._first&&1===u._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||u.sleep()}}},u.addEventListener("tick",R._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(Q[s||(t._gsTweenID=s="t"+Y++)]||(Q[s]={target:t,tweens:[]}),e&&(r=Q[s].tweens,r[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return Q[s].tweens},tt=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=M.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var u,c=e._startTime+p,h=[],f=0,d=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||it(e,0,d),0===it(a,u,d)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((d||!a._initted)&&c-a._startTime<=2*p||(h[f++]=a)));for(s=f;--s>-1;)if(a=h[s],l=a._firstPT,2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted&&l){if(2!==r&&!tt(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*p>s-e?p:(s+=t.totalDuration()/t._timeScale/n)>e+p?0:s-e-p};l._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,u=!!o.immediateRender,c=o.ease,h=this._startAt;if(o.startAt){h&&(h.render(-1,!0),h.kill()),n={};for(r in o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=u&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=M.to(this.target||{},0,n),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(h)h.render(-1,!0),h.kill(),this._startAt=null;else{0!==this._time&&(u=!1),i={};for(r in o)V[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==o.lazy,i.immediateRender=u,this._startAt=M.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,o.easeParams):T[c]||M.defaultEase:M.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&M._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var o,a,l,u,c,h;if(null==e)return!1;F[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)V[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e);for(o in this.vars)if(h=this.vars[o],V[o])h&&(h instanceof Array||h.push&&m(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[o]=h=this._swapSelfInParams(h,this));else if(W[o]&&(u=new W[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:u._priority,m:0},a=u._overwriteProps.length;--a>-1;)i[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[o]=q.call(this,e,o,"get",h,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,o,a=this,l=a._time,u=a._duration,c=a._rawPrevTime;if(t>=u-p&&t>=0)a._totalTime=a._time=u,a.ratio=a._ease._calcEnd?a._ease.getRatio(1):1,a._reversed||(r=!0,n="onComplete",i=i||a._timeline.autoRemoveChildren),0===u&&(a._initted||!a.vars.lazy||i)&&(a._startTime===a._timeline._duration&&(t=0),(0>c||0>=t&&t>=-p||c===p&&"isPause"!==a.data)&&c!==t&&(i=!0,c>p&&(n="onReverseComplete")),a._rawPrevTime=o=!e||t||c===t?t:p);else if(p>t)a._totalTime=a._time=0,a.ratio=a._ease._calcEnd?a._ease.getRatio(0):0,(0!==l||0===u&&c>0)&&(n="onReverseComplete",r=a._reversed),t>-p?t=0:0>t&&(a._active=!1,0===u&&(a._initted||!a.vars.lazy||i)&&(c>=0&&(c!==p||"isPause"!==a.data)&&(i=!0),a._rawPrevTime=o=!e||t||c===t?t:p)),(!a._initted||a._startAt&&a._startAt.progress())&&(i=!0);else if(a._totalTime=a._time=t,a._easeType){var h=t/u,f=a._easeType,d=a._easePower;(1===f||3===f&&h>=.5)&&(h=1-h),3===f&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),a.ratio=1===f?1-h:2===f?h:.5>t/u?h/2:1-h/2}else a.ratio=a._ease.getRatio(t/u);if(a._time!==l||i){if(!a._initted){if(a._init(),!a._initted||a._gc)return;if(!i&&a._firstPT&&(!1!==a.vars.lazy&&a._duration||a.vars.lazy&&!a._duration))return a._time=a._totalTime=l,a._rawPrevTime=c,D.push(a),void(a._lazy=[t,e]);a._time&&!r?a.ratio=a._ease.getRatio(a._time/u):r&&a._ease._calcEnd&&(a.ratio=a._ease.getRatio(0===a._time?0:1))}for(!1!==a._lazy&&(a._lazy=!1),a._active||!a._paused&&a._time!==l&&t>=0&&(a._active=!0),0===l&&(a._startAt&&(t>=0?a._startAt.render(t,!0,i):n||(n="_dummyGS")),a.vars.onStart&&(0!==a._time||0===u)&&(e||a._callback("onStart"))),s=a._firstPT;s;)s.f?s.t[s.p](s.c*a.ratio+s.s):s.t[s.p]=s.c*a.ratio+s.s,s=s._next;a._onUpdate&&(0>t&&a._startAt&&-1e-4!==t&&a._startAt.render(t,!0,i),e||(a._time!==l||r||i)&&a._callback("onUpdate")),n&&(!a._gc||i)&&(0>t&&a._startAt&&!a._onUpdate&&-1e-4!==t&&a._startAt.render(t,!0,i),r&&(a._timeline.autoRemoveChildren&&a._enabled(!1,!1),a._active=!1),!e&&a.vars[n]&&a._callback(n),0===u&&a._rawPrevTime===p&&o!==p&&(a._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var r,n,s,o,a,l,u,c,h,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,p=this._firstPT;if((m(e)||z(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){a=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==n&&"all"!==n&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(s in u)a[s]&&(h||(h=[]),h.push(s));if((h||!t)&&!tt(this,i,e,h))return!1}for(s in u)(o=a[s])&&(f&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,l=!0),o.pg&&o.t._kill(u)&&(l=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete a[s]),c&&(n[s]=1);!this._firstPT&&this._initted&&p&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-p,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(c||u.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new M(t,e,r)},M.delayedCall=function(t,e,i,r,n){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:M.selector(t)||t;var i,r,n,s;if((m(t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(M.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(r=J(t).concat(),i=r.length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=M.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype},!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=q,l.setRatio=N,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},M._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(W[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){rt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),a=o.prototype=new rt(i);a.constructor=o,o.API=t.API;for(e in s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,rt.activate([o]),o},o=t._gsQueue){for(a=0;a